게임 엔진/Unity
[Unity] Hp Bar 만들기
Hp Bar 유니티 Hp Bar 제작 방법이다. https://www.youtube.com/watch?v=BLfNP4Sc_iA&t=1118s HpBar.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HpBar : MonoBehaviour { [SerializeField] private Slider _slider; public void SetValue(float value) { _slider.value = value; } } BillBoard.cs using System.Collections; using System.Collections.Gene..