Beispiel #1
0
 void OnGameAlmostOverEvent(GameAlmostOverEvent e)
 {
     if (this != null)
     {
         Debug.Log("Le Gondor répondra présent !");
         Destroy(weaponGO);
         shootingActive = false;
     }
     else
     {
         Debug.Log("I'm already dead man");
     }
 }
 void OnGameAlmostOverEvent(GameAlmostOverEvent e)
 {
     PlayDeathFX();
     spaceshipsScripts[0].WaitUntilDeath();
     spaceshipsScripts[1].WaitUntilDeath();
 }