111
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Main
|
|||||||
_fill = this.transform.Find("Fill").GetComponent<Image>();
|
_fill = this.transform.Find("Fill").GetComponent<Image>();
|
||||||
_fillText = _fill.transform.Find("FillText").GetComponent<Text>();
|
_fillText = _fill.transform.Find("FillText").GetComponent<Text>();
|
||||||
_fillMessage = _fill.transform.Find("FillMessage").GetComponent<Text>();
|
_fillMessage = _fill.transform.Find("FillMessage").GetComponent<Text>();
|
||||||
_fill.fillAmount = 0;
|
//_fill.fillAmount = 0;
|
||||||
_fillText.text = "0%";
|
_fillText.text = "0%";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ namespace Main
|
|||||||
public async void SetProgressBarValue(string message, float value)
|
public async void SetProgressBarValue(string message, float value)
|
||||||
{
|
{
|
||||||
this.gameObject.SetActive(true);
|
this.gameObject.SetActive(true);
|
||||||
_fill.fillAmount = value;
|
//_fill.fillAmount = value;
|
||||||
_fillMessage.text = message;
|
_fillMessage.text = message;
|
||||||
_fillText.text = $"{value:P0}";
|
_fillText.text = $"{value:P0}";
|
||||||
if (value >= 1)
|
if (value >= 1)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.tools",
|
"name": "com.staryevo.tools",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"displayName": "00.StaryEvo.Tools",
|
"displayName": "00.StaryEvo.Tools",
|
||||||
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user