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

namespace XMainClient
{
	internal class XBackFlowBehavior : DlgBehaviourBase
	{
		public XUIPool TabItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public IXUIButton CloseBtn;

		public Transform HandlersParent;

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg/Tabs/TabTpl");
			this.TabItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 10u, false);
			this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.HandlersParent = base.transform.Find("Bg/Handler");
		}
	}
}