From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XShowGetItemBehaviour.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs b/Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs new file mode 100644 index 00000000..8721981f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; +using XMainClient.UI.UICommon; +using XUtliPoolLib; + +namespace XMainClient +{ + internal class XShowGetItemBehaviour : DlgBehaviourBase + { + public XUIPool m_ShowItemPool = new XUIPool(XSingleton.singleton.m_uiTool); + + public Transform m_Bg = null; + + private void Awake() + { + Transform transform = base.transform.Find("Bg/TipTpl"); + this.m_ShowItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 5u, false); + this.m_Bg = base.transform.Find("Bg"); + } + } +} -- cgit v1.1-26-g67d0