summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/GiftboxBehaviour.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/GiftboxBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/GiftboxBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/GiftboxBehaviour.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/GiftboxBehaviour.cs b/Client/Assets/Scripts/XMainClient/GiftboxBehaviour.cs
new file mode 100644
index 00000000..afd65cbb
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/GiftboxBehaviour.cs
@@ -0,0 +1,35 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient
+{
+ internal class GiftboxBehaviour : DlgBehaviourBase
+ {
+ public IXUICheckBox m_checkbox1;
+
+ public IXUICheckBox m_checkbox2;
+
+ public IXUIButton m_btnClose;
+
+ public IXUIWrapContent m_wrap;
+
+ public IXUIScrollView m_scroll;
+
+ public GameObject m_tip0;
+
+ public GameObject m_tip1;
+
+ private void Awake()
+ {
+ this.m_checkbox1 = (base.transform.Find("item1/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
+ this.m_checkbox2 = (base.transform.Find("item2/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
+ this.m_tip0 = base.transform.Find("Bg/Tip2").gameObject;
+ this.m_tip1 = base.transform.Find("Bg/Tip1").gameObject;
+ this.m_btnClose = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_wrap = (base.transform.Find("scrollview/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
+ this.m_scroll = (base.transform.Find("scrollview").GetComponent("XUIScrollView") as IXUIScrollView);
+ }
+ }
+}