void healthCheck()
 {
     if (health <= 0)
     {
         sceneLoaderBehaviour.loadScene("Win Screen");
     }
 }
Exemple #2
0
 void runGameOver()
 {
     sceneLoaderBehaviour.loadScene("GameOver");
 }