Example #1
0
 void DisplayError()
 {
     if (aController == null)
     {
         ProjectMethods.NoAlienControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }
Example #2
0
 void DisplayError()
 {
     if (gameController == null)
     {
         ProjectMethods.NoGameControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
     if (owner == null && testMode == false)
     {
         ProjectMethods.NoAlienControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }
Example #3
0
 void DisplayError()
 {
     if (player == null)
     {
         ProjectMethods.NoPlayerObjectMsg();
         ProjectMethods.QuitGame();
     }
     else if (playerLives == null)
     {
         ProjectMethods.NoLivesComponentMsg();
         ProjectMethods.QuitGame();
     }
     else if (aController == null)
     {
         ProjectMethods.NoAlienControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }