Ejemplo n.º 1
0
 void OnBecameInvisible()
 {
     ChangeState(new EndPlayerState());
     if (gui != null)
     {
         gui.ShowEndPanel();
     }
 }