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/AuctionBehaviour.cs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/AuctionBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/AuctionBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/AuctionBehaviour.cs b/Client/Assets/Scripts/XMainClient/AuctionBehaviour.cs new file mode 100644 index 00000000..e7f7085b --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/AuctionBehaviour.cs @@ -0,0 +1,35 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class AuctionBehaviour : DlgBehaviourBase + { + public Transform m_framesTransform; + + public IXUIButton m_Close; + + public IXUICheckBox m_BuyFrameCheckBox; + + public IXUICheckBox m_SellFrameCheckBox; + + public IXUICheckBox m_GuildAucFrameCheckBox; + + public GameObject m_GuildAucRedPoint; + + public IXUIButton m_Help; + + private void Awake() + { + this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton); + this.m_framesTransform = base.transform.Find("Bg/frames"); + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_BuyFrameCheckBox = (base.transform.Find("Bg/Tabs/Buy").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_SellFrameCheckBox = (base.transform.Find("Bg/Tabs/Sell").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_GuildAucFrameCheckBox = (base.transform.Find("Bg/Tabs/GuildAuc").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_GuildAucRedPoint = base.transform.Find("Bg/Tabs/GuildAuc/RedPoint").gameObject; + } + } +} -- cgit v1.1-26-g67d0