summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XShowGetItemUIBehaviour.cs
blob: c11f96f5353dce368fef725b485340ff2b37d45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);
		}
	}
}