summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XRewardDlgBehaviour.cs
blob: 0a49210578724c41165cf14ea1acf0a2d6897c2b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XMainClient.Utility;
using XUtliPoolLib;

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

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

		public IXUIButton m_close;

		public XUITabControl m_tabcontrol = new XUITabControl();

		public Transform m_achivementFrame;

		public Transform m_activityFrame;

		public Transform m_rewardSysFrame;

		public Transform m_loginFrame;

		public Transform m_levelFrame;

		private void Awake()
		{
			this.m_close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			Transform tabTpl = base.transform.Find("Bg/Tabs/TabTpl");
			this.m_tabcontrol.SetTabTpl(tabTpl);
			this.m_achivementFrame = base.transform.Find("Bg/AchivementFrame");
			this.m_activityFrame = base.transform.Find("Bg/ActivityFrame");
			this.m_rewardSysFrame = base.transform.Find("Bg/RewardFrame");
			this.m_loginFrame = base.transform.Find("Bg/LoginFrame");
			this.m_levelFrame = base.transform.Find("Bg/LevelFrame");
		}
	}
}