summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs
new file mode 100644
index 00000000..d584d475
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XBuyCountBehaviour.cs
@@ -0,0 +1,32 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ internal class XBuyCountBehaviour : DlgBehaviourBase
+ {
+ public IXUILabel m_Content = null;
+
+ public IXUILabelSymbol m_ContentLabelSymbol = null;
+
+ public IXUILabel m_LeftBuyCount = null;
+
+ public IXUIButton m_OKButton = null;
+
+ public IXUIButton m_CancelButton = null;
+
+ private void Awake()
+ {
+ Transform transform = base.transform.Find("Bg/Content");
+ this.m_Content = (transform.GetComponent("XUILabel") as IXUILabel);
+ this.m_ContentLabelSymbol = (transform.GetComponent("XUILabelSymbol") as IXUILabelSymbol);
+ this.m_LeftBuyCount = (base.transform.Find("Bg/LeftBuyCount").GetComponent("XUILabel") as IXUILabel);
+ Transform transform2 = base.transform.Find("Bg/OK");
+ this.m_OKButton = (transform2.GetComponent("XUIButton") as IXUIButton);
+ Transform transform3 = base.transform.Find("Bg/Cancel");
+ this.m_CancelButton = (transform3.GetComponent("XUIButton") as IXUIButton);
+ }
+ }
+}