diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs b/Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs new file mode 100644 index 00000000..f6c7d357 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/WeekEndNestBehaviour.cs @@ -0,0 +1,53 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class WeekEndNestBehaviour : DlgBehaviourBase
+ {
+ public IXUILabel m_timesLab;
+
+ public IXUILabel m_tittleLab;
+
+ public IXUILabel m_rulesLab;
+
+ public IXUISprite m_getSpr;
+
+ public IXUIButton m_closedBtn;
+
+ public IXUIButton m_helpBtn;
+
+ public IXUIButton m_getBtn;
+
+ public IXUIButton m_gotoTeamBtn;
+
+ public GameObject m_reddotGo;
+
+ public Transform m_parentTra;
+
+ public IXUITexture m_tex;
+
+ public XUIPool m_itemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ Transform transform = base.transform.Find("Bg");
+ this.m_tex = (transform.Find("Texture").GetComponent("XUITexture") as IXUITexture);
+ this.m_closedBtn = (transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_helpBtn = (transform.Find("Help").GetComponent("XUIButton") as IXUIButton);
+ this.m_reddotGo = transform.Find("Right/BtnStartSingle/RedPoint").gameObject;
+ this.m_getBtn = (transform.Find("Right/BtnStartSingle").GetComponent("XUIButton") as IXUIButton);
+ this.m_gotoTeamBtn = (transform.Find("Right/BtnStartTeam").GetComponent("XUIButton") as IXUIButton);
+ this.m_getSpr = (transform.Find("Right/BtnStartSingle").GetComponent("XUISprite") as IXUISprite);
+ this.m_tittleLab = (transform.Find("Left/CurrName").GetComponent("XUILabel") as IXUILabel);
+ this.m_rulesLab = (transform.Find("Left/GameRule").GetComponent("XUILabel") as IXUILabel);
+ this.m_timesLab = (transform.Find("Right/Times").GetComponent("XUILabel") as IXUILabel);
+ Transform transform2 = transform.Find("WeekReward/ItemTpl");
+ this.m_parentTra = transform.Find("WeekReward/ListPanel");
+ this.m_itemPool.SetupPool(transform.Find("WeekReward").gameObject, transform2.gameObject, 3u, true);
+ }
+ }
+}
|