示例#1
0
 void OnBecameInvisible()
 {
     ChangeState(new EndPlayerState());
     if (gui != null)
     {
         gui.ShowEndPanel();
     }
 }