Ejemplo n.º 1
0
    public void LoseLife()
    {
        GetLastUnusedHeartImage().enabled = false;
        usedLives++;

        if (heartGameObjects.Length <= usedLives)
        {
            GameObject.FindWithTag("Clock").GetComponent <Clock>().OnGameOver();
            transitioner.StartTransition(2);
            MaybeShowAd();
        }
    }
Ejemplo n.º 2
0
 public void GoBack()
 {
     transitioner.StartTransition(2);
 }
Ejemplo n.º 3
0
 public void PlayGame()
 {
     transitioner.StartTransition(1);
 }