Esempio n. 1
0
 //处理胜利事件
 public void Victory()
 {
     if (userGUI.gameOver || userGUI.victory)
     {
         return;
     }
     userGUI.victory = true;
     areaController.FreeAll();
     player.GetComponent <PlayerManager>().moveable = false;
     player.GetComponent <PlayerManager>().Win();
 }