111
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Main
|
||||
_fill = this.transform.Find("Fill").GetComponent<Image>();
|
||||
_fillText = _fill.transform.Find("FillText").GetComponent<Text>();
|
||||
_fillMessage = _fill.transform.Find("FillMessage").GetComponent<Text>();
|
||||
_fill.fillAmount = 0;
|
||||
//_fill.fillAmount = 0;
|
||||
_fillText.text = "0%";
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Main
|
||||
public async void SetProgressBarValue(string message, float value)
|
||||
{
|
||||
this.gameObject.SetActive(true);
|
||||
_fill.fillAmount = value;
|
||||
//_fill.fillAmount = value;
|
||||
_fillMessage.text = message;
|
||||
_fillText.text = $"{value:P0}";
|
||||
if (value >= 1)
|
||||
|
||||
Reference in New Issue
Block a user