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