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/UI/SevenLoginBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/SevenLoginBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/SevenLoginBehaviour.cs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/SevenLoginBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/SevenLoginBehaviour.cs new file mode 100644 index 00000000..9c831bba --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/SevenLoginBehaviour.cs @@ -0,0 +1,51 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class SevenLoginBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public IXUILabel m_LoginDayLabel;
+
+ public IXUIScrollView m_WrapContentScrollView;
+
+ public Transform m_WrapContentTemp;
+
+ public Transform m_WrapContentRewardTemp;
+
+ public XUIPool m_RewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ public IXUILabel m_MessageLabel;
+
+ public IXUITexture m_shardTexture;
+
+ public IXUITexture m_dialogTexture;
+
+ public Transform m_dialogTransform;
+
+ public IXUIButton m_dialogClose;
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_LoginDayLabel = (base.transform.Find("Bg/LoginDay").GetComponent("XUILabel") as IXUILabel);
+ this.m_WrapContentScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
+ this.m_WrapContentTemp = base.transform.Find("Bg/ScrollView/ItemTpl");
+ this.m_WrapContentTemp.gameObject.SetActive(false);
+ this.m_WrapContentRewardTemp = base.transform.Find("Bg/RewardTemp");
+ this.m_RewardPool.SetupPool(this.m_WrapContentRewardTemp.parent.gameObject, this.m_WrapContentRewardTemp.gameObject, 30u, false);
+ this.m_WrapContentRewardTemp.gameObject.SetActive(false);
+ this.m_MessageLabel = (base.transform.Find("Bg/Message").GetComponent("XUILabel") as IXUILabel);
+ Transform transform = base.transform.Find("Bg/Show");
+ this.m_shardTexture = (base.transform.Find("Bg/Show/Texture").GetComponent("XUITexture") as IXUITexture);
+ this.m_dialogClose = (base.transform.Find("Bg/Dialog/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_dialogTexture = (base.transform.Find("Bg/Dialog/Texture").GetComponent("XUITexture") as IXUITexture);
+ this.m_dialogTransform = base.transform.Find("Bg/Dialog");
+ }
+ }
+}
|