From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/AuctionPurchaseBehaviour.cs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/AuctionPurchaseBehaviour.cs') 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); + } + } +} -- cgit v1.1-26-g67d0