From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XMainClient/PresentBehaviour.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/PresentBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/PresentBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/PresentBehaviour.cs b/Client/Assets/Scripts/XMainClient/PresentBehaviour.cs new file mode 100644 index 00000000..b8d0f66b --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PresentBehaviour.cs @@ -0,0 +1,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); + } + } +} -- cgit v1.1-26-g67d0