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