2 4 6 8 10 12 14 16 18 20 22 24 26 28 | usingUnityEngine.UI; publicclassRadialProgress:MonoBehaviour{ publicText ProgressIndicator; floatcurrentValue; voidStart(){ } // Update is called once per frame if(currentValue<100){ ProgressIndicator.text=((int)currentValue).ToString()+'%'; }else{ ProgressIndicator.text='Done'; } |