///<summary> /// CheckedPlayer /// 目前只用于修改Ui ///</summary> public void CheckedPlayer() { if (Player1Speed == 0) //玩家回合 { Notetext.text = "你的回合"; IfPlayer = true; if (IfFirst != true) { GameControoler._instance.SetCardUi(false); TestMananger._instance.VisableCard(); } else { IfFirst = false; } } for (int g = 0; g < Agis.Length; g++) //敌人回合 { if (Agis[g] == 0) { Notetext.text = "敌方回合"; IfPlayer = false; } } if (BackgroundSpeed == 0) //背景回合 { //场景 GroundLib d = GroundScr._instance.groundLib; double [] s = d.ReckonRule3(); Debug.Log("来自收脚本的信息:背景回合取得的数组第一位为 " + s[0]); if (s[0] != 0) { //进入结算的方法 PulicObjScr._instance.GroundRule3(s); } } if (HelperSpeed == 0) //帮手回合 { Notetext.text = "帮手回合"; } }