diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/PresentBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PresentBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PresentBehaviour.cs | 32 |
1 files changed, 32 insertions, 0 deletions
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);
+ }
+ }
+}
|