summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/TabDlgBehaviour.cs
blob: 86f57d7015dff259ae317ad77e4b982b0518f458 (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 XMainClient.Utility;

namespace XMainClient.UI
{
	internal class TabDlgBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public Transform m_root;

		public XUITabControl m_tabcontrol = new XUITabControl();

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_root = base.transform.Find("Bg");
			Transform tabTpl = base.transform.Find("Bg/Tabs/TabTpl");
			this.m_tabcontrol.SetTabTpl(tabTpl);
		}
	}
}