summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XWelfareBehaviour.cs
blob: c57ffece922139b7ce50ccad6cc85c0bf274dd91 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

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

		public IXUIList m_TabList;

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

		public Transform m_RightHandlerParent;

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg/TabList/TabGrid/Tpl");
			this.m_TabPool.SetupPool(transform.gameObject.gameObject, transform.gameObject, 5u, false);
			this.m_RightHandlerParent = base.transform.Find("Bg/RightHander");
			this.m_TabList = (base.transform.Find("Bg/TabList/TabGrid").GetComponent("XUIList") as IXUIList);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
		}
	}
}