mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 23:37:13 +08:00
16 lines
286 B
C#
16 lines
286 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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|