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

namespace XMainClient
{
	internal class XGeneralShopBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public IXUIButton m_Help;

		public XUIPool m_ShopTypePool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_ShopTypePool.SetupPool(base.transform.Find("Bg/ListFrame/Panel").gameObject, base.transform.Find("Bg/ListFrame/Panel/RecordTpl").gameObject, 10u, false);
		}
	}
}