示例#1
0
 //death function
 public void Die(GameManagement mgmt)
 {
     //Boom!
     //		GameObject d = Instantiate(explosion, transform.position, transform.rotation) as GameObject;
     //goodbye
     Debug.Log("ship is out of healths.  Calling mgmt.PlayerDead()");
     //Hello, management? Yes, the player's dead. He won't be a problem anymore.
     mgmt.PlayerDead(shipNo);
 }