summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs
new file mode 100644
index 00000000..641084cf
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XTeamBattleConfirmBehaviour.cs
@@ -0,0 +1,55 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class XTeamBattleConfirmBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_OK = null;
+
+ public IXUIButton m_Cancel = null;
+
+ public IXUILabel m_DungeonName;
+
+ public IXUIProgress m_Progress;
+
+ public XUIPool m_Pool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ public GameObject m_GoldGroup;
+
+ public IXUILabel m_statLab;
+
+ public GameObject m_tipsGo;
+
+ public IXUILabel m_CommonTip;
+
+ public GameObject m_RiftPanel;
+
+ public static int RiftBuffCount = 5;
+
+ public GameObject[] m_RiftBuffs;
+
+ private void Awake()
+ {
+ this.m_OK = (base.transform.Find("Bg/OK").GetComponent("XUIButton") as IXUIButton);
+ this.m_Cancel = (base.transform.Find("Bg/Cancel").GetComponent("XUIButton") as IXUIButton);
+ this.m_DungeonName = (base.transform.Find("Bg/DungeonName").GetComponent("XUILabel") as IXUILabel);
+ this.m_Progress = (base.transform.Find("Bg/Progress").GetComponent("XUIProgress") as IXUIProgress);
+ this.m_GoldGroup = base.transform.Find("Bg/RewardHunt").gameObject;
+ Transform transform = base.transform.Find("Bg/Members/Tpl");
+ this.m_Pool.SetupPool(transform.parent.gameObject, transform.gameObject, 4u, false);
+ this.m_statLab = (base.transform.Find("Bg/Start").GetComponent("XUILabel") as IXUILabel);
+ this.m_tipsGo = base.transform.Find("LetsMakeFriends").gameObject;
+ this.m_CommonTip = (base.transform.Find("Tip").GetComponent("XUILabel") as IXUILabel);
+ this.m_RiftPanel = base.transform.Find("Bg/RiftBuff").gameObject;
+ this.m_RiftBuffs = new GameObject[XTeamBattleConfirmBehaviour.RiftBuffCount];
+ for (int i = 0; i < XTeamBattleConfirmBehaviour.RiftBuffCount; i++)
+ {
+ this.m_RiftBuffs[i] = this.m_RiftPanel.transform.Find("BossBuff" + i).gameObject;
+ }
+ }
+ }
+}