summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XShowGetItemBehaviour.cs
blob: 8721981faaf2ab74eec9b806a3637945161a5aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XShowGetItemBehaviour : DlgBehaviourBase
	{
		public XUIPool m_ShowItemPool = new XUIPool(XSingleton<XGameUI>.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");
		}
	}
}