//一轮行动结束 public void Finish() { entityGenerator.Generate(); //更新得分 ctrlScore.UpdateScore(); //判输 if (judgement.JudgeLose()) { //游戏结束 GameObject.Find("txt_goal").GetComponent <Text>().text = "游戏结束!"; } }
//一轮行动结束 public void Finish() { entityGenerator.Generate(); //更新得分 ctrlScore.UpdateScore(); //判输 if (judgement.JudgeLose()) { //游戏结束 GameObject.Find("txt_goal").GetComponent <Text>().text = "游戏结束!"; } }