|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public sealed class GaugeImage : GaugeParent {
|
|
|
|
[SerializeField]
|
|
private Image gauge = default;
|
|
|
|
public override void UpdateGauge(float percentage){
|
|
gauge.fillAmount = percentage;
|
|
this.percentage = percentage;
|
|
}
|
|
}
|