summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.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/AuctionPurchaseBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs
new file mode 100644
index 00000000..de496ef3
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs
@@ -0,0 +1,35 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ internal class AuctionPurchaseBehaviour : DlgBehaviourBase
+ {
+ public GameObject m_ItemTpl;
+
+ public IXUILabel m_SinglePrice;
+
+ public IXUILabel m_HavCoin;
+
+ public IXUILabel m_TotalPrice;
+
+ public AuctionNumberOperate m_CurCountOperate;
+
+ public IXUIButton m_Ok;
+
+ public IXUIButton m_maskSprite;
+
+ private void Awake()
+ {
+ this.m_ItemTpl = base.transform.Find("Bg/ItemTpl").gameObject;
+ this.m_SinglePrice = (base.transform.Find("Bg/Price/Label").GetComponent("XUILabel") as IXUILabel);
+ this.m_HavCoin = (base.transform.Find("Bg/Have/Label").GetComponent("XUILabel") as IXUILabel);
+ this.m_TotalPrice = (base.transform.Find("Bg/TotalPrice/Label").GetComponent("XUILabel") as IXUILabel);
+ this.m_CurCountOperate = new AuctionNumberOperate(base.transform.Find("Bg/Free").gameObject, new Vector3(-94f, 104f, 0f));
+ this.m_Ok = (base.transform.Find("Bg/Ok").GetComponent("XUIButton") as IXUIButton);
+ this.m_maskSprite = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ }
+ }
+}