diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs new file mode 100644 index 00000000..2284534f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs @@ -0,0 +1,34 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class ItemAccessDlgBehaviour : DlgBehaviourBase
+ {
+ public GameObject m_Item;
+
+ public XUIPool m_RecordPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ public IXUIScrollView m_RecordScrollView;
+
+ public IXUIButton m_Close;
+
+ public GameObject m_BossItem;
+
+ public IXUILabel m_bossDec;
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_Item = base.transform.Find("Bg/Item").gameObject;
+ this.m_BossItem = base.transform.Find("Bg/Boss").gameObject;
+ this.m_bossDec = (this.m_BossItem.transform.Find("Des").GetComponent("XUILabel") as IXUILabel);
+ Transform transform = base.transform.Find("Bg/ListPanel/ItemTpl");
+ this.m_RecordPool.SetupPool(transform.parent.gameObject, transform.gameObject, 4u, false);
+ this.m_RecordScrollView = (base.transform.Find("Bg/ListPanel").GetComponent("XUIScrollView") as IXUIScrollView);
+ }
+ }
+}
|