示例#1
0
 public void RestartGame()
 {
     GameStateController.ClearState();
     GameStateController.SetState(GameState.StartGame);
     GameObject.DestroyImmediate(gameObject);//close self
 }