From 1019d5eff08b8c46af3d176a600b423a7011b705 Mon Sep 17 00:00:00 2001 From: LMZ <1477077658@qq.com> Date: Sun, 29 Dec 2024 17:08:19 +0800 Subject: [PATCH] =?UTF-8?q?GGGGG=E5=AE=8C=E7=BB=93=E6=92=92=E8=8A=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Script/UI/ZZZZZZ/ZZUIManager.cs | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs index ce1068f7..28cfa659 100644 --- a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs +++ b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs @@ -334,7 +334,7 @@ public class ZZUIManager : MonoBehaviour public Button luxianSure; public Text luxianSureText; - + public int NPCAA=-1; #region 疏散情况班级排序 public GridLayoutGroup gridLayoutGroup; private List textFields = new List(); @@ -384,21 +384,25 @@ public class ZZUIManager : MonoBehaviour Icn_Stairway_1.onClick.AddListener(() => { louhao = 2; + NPCAA++; luxianSureText.color = new Color(255, 255, 255); }); Icn_Stairway_2.onClick.AddListener(() => { louhao = 3; + NPCAA++; luxianSureText.color = new Color(255, 255, 255); }); Icn_Stairway_3.onClick.AddListener(() => { louhao = 4; + NPCAA++; luxianSureText.color = new Color(255, 255, 255); }); Icn_Stairway_4.onClick.AddListener(() => { louhao = 5; + NPCAA++; luxianSureText.color = new Color(255, 255, 255); }); #endregion @@ -514,13 +518,17 @@ public class ZZUIManager : MonoBehaviour //撤离方案确定 DialogboxSure.onClick.AddListener(() => { - SplitData(TempNPC); - for(int i=0;i