Esempio n. 1
0
 // Update is called once per frame
 void FixedUpdate()
 {
     if (LifeManager.getInstance().getLifes() < LifeManager.DEFAULT_LIFES)
     {
         text.text = LifeRegenerator.getRemainingTime();
     }
     else
     {
         text.text = "";
     }
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     text.text = LifeRegenerator.getRemainingTime();
 }