예제 #1
0
 void PlayerDeath()
 {
     debugManager.DebugGUI("Killed Player", 1f, "Player");
     //Kill player, set death state,
     inputState = InputState.Dead;
     //Send message to LM,
     Debug.Log("PLY: The Player is Dead!");
     //Game over.
     LM.GameOver();
     //CAUTION: Where do I handle Lives? either this script, stats handler, or LevelMan. Probably Stats handler.
 }