summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.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/XFlowerSendBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.cs b/Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.cs
new file mode 100644
index 00000000..36d8228f
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XFlowerSendBehaviour.cs
@@ -0,0 +1,34 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class XFlowerSendBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public XUIPool m_TabPool;
+
+ public IXUILabel m_PointTip;
+
+ public XUIPool m_SendItemPool;
+
+ public IXUIList m_SendItemList;
+
+ private void Awake()
+ {
+ Transform transform = base.transform.Find("Bg/P1");
+ this.m_TabPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+ this.m_TabPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false);
+ this.m_SendItemList = (base.transform.Find("Bg/List").GetComponent("XUIList") as IXUIList);
+ Transform transform2 = base.transform.Find("Bg/List/Tpl");
+ this.m_SendItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+ this.m_SendItemPool.SetupPool(transform2.parent.gameObject, transform2.gameObject, 5u, false);
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_PointTip = (base.transform.Find("Bg/T1").GetComponent("XUILabel") as IXUILabel);
+ }
+ }
+}