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

namespace XMainClient.UI
{
	internal class EndlessAbyssBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_closedBtn;

		public IXUIButton m_Help;

		public IXUIButton m_shopBtn;

		public IXUIButton m_goBattleBtn;

		public GameObject m_noTimesGo;

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

		public IXUILabel m_canJoinTimeslab;

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg");
			this.m_closedBtn = (transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_goBattleBtn = (transform.Find("GoBattle").GetComponent("XUIButton") as IXUIButton);
			this.m_shopBtn = (transform.Find("BtnShop").GetComponent("XUIButton") as IXUIButton);
			this.m_noTimesGo = transform.Find("NoJoinTimesTips").gameObject;
			Transform transform2 = transform.Find("Reward/Item/ItemTpl");
			this.m_ItemPool.SetupPool(transform2.parent.gameObject, transform2.gameObject, 3u, false);
			this.m_canJoinTimeslab = (transform.Find("times").GetComponent("XUILabel") as IXUILabel);
			this.m_canJoinTimeslab.SetText("");
		}
	}
}