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

namespace XMainClient
{
	internal class RollDlgBehaviour : DlgBehaviourBase
	{
		public GameObject m_ItemTpl;

		public IXUISlider m_TimeBar;

		public IXUILabel m_Level;

		public IXUILabel m_Prof;

		public IXUIButton m_YesButton;

		public IXUIButton m_CancelButton;

		private void Awake()
		{
			this.m_ItemTpl = base.transform.Find("Bg/ItemTpl/Item").gameObject;
			this.m_TimeBar = (base.transform.Find("Bg/Bar").GetComponent("XUISlider") as IXUISlider);
			this.m_Level = (base.transform.Find("Bg/ItemTpl/Level").GetComponent("XUILabel") as IXUILabel);
			this.m_Prof = (base.transform.Find("Bg/ItemTpl/Prof").GetComponent("XUILabel") as IXUILabel);
			this.m_YesButton = (base.transform.Find("Bg/Yes").GetComponent("XUIButton") as IXUIButton);
			this.m_CancelButton = (base.transform.Find("Bg/Cancel").GetComponent("XUIButton") as IXUIButton);
		}
	}
}