diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XGeneralShopBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XGeneralShopBehaviour.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XGeneralShopBehaviour.cs b/Client/Assets/Scripts/XMainClient/XGeneralShopBehaviour.cs new file mode 100644 index 00000000..b5553e76 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XGeneralShopBehaviour.cs @@ -0,0 +1,23 @@ +using System;
+using UILib;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class XGeneralShopBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public IXUIButton m_Help;
+
+ public XUIPool m_ShopTypePool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
+ this.m_ShopTypePool.SetupPool(base.transform.Find("Bg/ListFrame/Panel").gameObject, base.transform.Find("Bg/ListFrame/Panel/RecordTpl").gameObject, 10u, false);
+ }
+ }
+}
|