summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs
new file mode 100644
index 00000000..c11f96f5
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs
@@ -0,0 +1,30 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class XShowGetItemUIBehaviour : DlgBehaviourBase
+ {
+ public XUIPool m_ShowItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ public GameObject m_itemTpl;
+
+ public IXUISprite m_sprBgTip;
+
+ public IXUITweenTool m_tweenBg;
+
+ public IXUITweener m_tweener;
+
+ private void Awake()
+ {
+ this.m_itemTpl = base.transform.Find("Bg/TipTpl/ItemTpl").gameObject;
+ this.m_ShowItemPool.SetupPool(this.m_itemTpl.transform.parent.gameObject, this.m_itemTpl, 4u, false);
+ this.m_sprBgTip = (base.transform.Find("Bg/TipTpl").GetComponent("XUISprite") as IXUISprite);
+ this.m_tweenBg = (base.transform.Find("Bg/TipTpl").GetComponent("XUIPlayTween") as IXUITweenTool);
+ this.m_tweener = (base.transform.Find("Bg/TipTpl").GetComponent("XUITweener") as IXUITweener);
+ }
+ }
+}