GGGGG完结撒花

This commit is contained in:
林小智丶 2024-12-29 17:08:19 +08:00
parent f07db0d476
commit 1019d5eff0

View File

@ -334,7 +334,7 @@ public class ZZUIManager : MonoBehaviour
public Button luxianSure;
public Text luxianSureText;
public int NPCAA=-1;
#region
public GridLayoutGroup gridLayoutGroup;
private List<Text> textFields = new List<Text>();
@ -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<NPCdian.Count;i++)
if (NPCAA != -1)
{
NPCController.instance.INITNPCMOVE(NPCdian[i]);
Debug.LogError(NPCdian[i]);
NPCAA = -1;
SplitData(TempNPC);
for (int i = 0; i < NPCdian.Count; i++)
{
NPCController.instance.INITNPCMOVE(NPCdian[i]);
Debug.LogError(NPCdian[i]);
}
DiaLogBox.SetActive(false);
}
DiaLogBox.SetActive(false);
});
//梯队选择队形
Dialogbox2A.onClick.AddListener(() =>