GGGGG完结撒花
This commit is contained in:
parent
f07db0d476
commit
1019d5eff0
@ -334,7 +334,7 @@ public class ZZUIManager : MonoBehaviour
|
|||||||
|
|
||||||
public Button luxianSure;
|
public Button luxianSure;
|
||||||
public Text luxianSureText;
|
public Text luxianSureText;
|
||||||
|
public int NPCAA=-1;
|
||||||
#region 疏散情况班级排序
|
#region 疏散情况班级排序
|
||||||
public GridLayoutGroup gridLayoutGroup;
|
public GridLayoutGroup gridLayoutGroup;
|
||||||
private List<Text> textFields = new List<Text>();
|
private List<Text> textFields = new List<Text>();
|
||||||
@ -384,21 +384,25 @@ public class ZZUIManager : MonoBehaviour
|
|||||||
Icn_Stairway_1.onClick.AddListener(() =>
|
Icn_Stairway_1.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
louhao = 2;
|
louhao = 2;
|
||||||
|
NPCAA++;
|
||||||
luxianSureText.color = new Color(255, 255, 255);
|
luxianSureText.color = new Color(255, 255, 255);
|
||||||
});
|
});
|
||||||
Icn_Stairway_2.onClick.AddListener(() =>
|
Icn_Stairway_2.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
louhao = 3;
|
louhao = 3;
|
||||||
|
NPCAA++;
|
||||||
luxianSureText.color = new Color(255, 255, 255);
|
luxianSureText.color = new Color(255, 255, 255);
|
||||||
});
|
});
|
||||||
Icn_Stairway_3.onClick.AddListener(() =>
|
Icn_Stairway_3.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
louhao = 4;
|
louhao = 4;
|
||||||
|
NPCAA++;
|
||||||
luxianSureText.color = new Color(255, 255, 255);
|
luxianSureText.color = new Color(255, 255, 255);
|
||||||
});
|
});
|
||||||
Icn_Stairway_4.onClick.AddListener(() =>
|
Icn_Stairway_4.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
louhao = 5;
|
louhao = 5;
|
||||||
|
NPCAA++;
|
||||||
luxianSureText.color = new Color(255, 255, 255);
|
luxianSureText.color = new Color(255, 255, 255);
|
||||||
});
|
});
|
||||||
#endregion
|
#endregion
|
||||||
@ -514,6 +518,9 @@ public class ZZUIManager : MonoBehaviour
|
|||||||
//撤离方案确定
|
//撤离方案确定
|
||||||
DialogboxSure.onClick.AddListener(() =>
|
DialogboxSure.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
|
if (NPCAA != -1)
|
||||||
|
{
|
||||||
|
NPCAA = -1;
|
||||||
SplitData(TempNPC);
|
SplitData(TempNPC);
|
||||||
for (int i = 0; i < NPCdian.Count; i++)
|
for (int i = 0; i < NPCdian.Count; i++)
|
||||||
{
|
{
|
||||||
@ -521,6 +528,7 @@ public class ZZUIManager : MonoBehaviour
|
|||||||
Debug.LogError(NPCdian[i]);
|
Debug.LogError(NPCdian[i]);
|
||||||
}
|
}
|
||||||
DiaLogBox.SetActive(false);
|
DiaLogBox.SetActive(false);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
//梯队选择队形
|
//梯队选择队形
|
||||||
Dialogbox2A.onClick.AddListener(() =>
|
Dialogbox2A.onClick.AddListener(() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user