public void LoseLife() { GetLastUnusedHeartImage().enabled = false; usedLives++; if (heartGameObjects.Length <= usedLives) { GameObject.FindWithTag("Clock").GetComponent <Clock>().OnGameOver(); transitioner.StartTransition(2); MaybeShowAd(); } }
public void GoBack() { transitioner.StartTransition(2); }
public void PlayGame() { transitioner.StartTransition(1); }