16 lines
288 B
C#
16 lines
288 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace UI
|
|
{
|
|
public class BarUI : MonoBehaviour
|
|
{
|
|
[SerializeField] private Image image;
|
|
|
|
public float Progress
|
|
{
|
|
get => image.fillAmount;
|
|
set => image.fillAmount = value;
|
|
}
|
|
}
|
|
} |