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

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

		public IXUIButton m_Help;

		public IXUIButton m_SingleJoin;

		public IXUILabel m_GameRule;

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

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_SingleJoin = (base.transform.Find("Bg/SingleJoin").GetComponent("XUIButton") as IXUIButton);
			this.m_GameRule = (base.transform.Find("Bg/GameRule").GetComponent("XUILabel") as IXUILabel);
			Transform transform = base.transform.Find("Bg/Reward/RewardList/ItemTpl");
			this.m_RewardPool.SetupPool(null, transform.gameObject, 3u, false);
		}
	}
}