summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PresentBehaviour.cs
blob: b8d0f66b4601c35c69e293c08fc453782cd1a4aa (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 PresentBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_btnPay;

		public IXUIButton m_btnCancel;

		public IXUIInput m_input;

		public GameObject m_icon;

		public IXUILabel m_lblPrice;

		public IXUILabel m_lblTitle;

		private void Awake()
		{
			this.m_btnPay = (base.transform.Find("OK").GetComponent("XUIButton") as IXUIButton);
			this.m_btnCancel = (base.transform.Find("Cancel").GetComponent("XUIButton") as IXUIButton);
			this.m_input = (base.transform.Find("item2/input").GetComponent("XUIInput") as IXUIInput);
			this.m_icon = base.transform.Find("item2").gameObject;
			this.m_lblPrice = (base.transform.Find("item2/Price").GetComponent("XUILabel") as IXUILabel);
			this.m_lblTitle = (base.transform.Find("item2/Title").GetComponent("XUILabel") as IXUILabel);
		}
	}
}