Exemplo n.º 1
0
 // when destroyed, inform the gamemanager
 void OnDestroy()
 {
     if (mySpawn != null)
     {
         mySpawn.CmdUnitDied();
     }
 }