Пример #1
0
 public void Handle(RestartGameMessage message)
 {
     if (_astronautDead)
     {
         this.RestartGame();
     }
     else
     {
         Debug.Log("Should not restart!");
     }
 }
 private void RestartGame()
 {
     RestartGameMessage.Invoke(null, EventArgs.Empty);
 }