btn_Main
btn_Again
GameoverPanel
GameObject
SetActive
timeScale
UIController.Instance.ShowGameoverPanel();
btn_Main
btn_Again
GameoverPanel
GameObject
SetActive
timeScale
UIController.Instance.ShowGameoverPanel();
将project Settings里的time中的time scale变成0这样游戏就停止不能运行了。如:Time.timeScale = 0;