Пример #1
0
 // Update is called once per frame
 void Update()
 {
     text.text  = "Voce possui " + gm.GetTotalAmount() + " Pecas!";
     text.text += "\nNo total " + gm.GetRetrieveAmount() + " Pecas foram recicladas!";
 }
Пример #2
0
 // Update is called once per frame
 void Update()
 {
     progressBar.fillAmount = (gm.GetTotalAmount() / total);
 }