From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/RadioBattleBahaviour.cs | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/RadioBattleBahaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/RadioBattleBahaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/RadioBattleBahaviour.cs b/Client/Assets/Scripts/XMainClient/RadioBattleBahaviour.cs new file mode 100644 index 00000000..585ddbe0 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/RadioBattleBahaviour.cs @@ -0,0 +1,26 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class RadioBattleBahaviour : DlgBehaviourBase + { + public IXUIButton m_btnOpen; + + public IXUIButton m_btnClose; + + public IXUIButton m_btnRadio; + + public GameObject m_objSelect; + + private void Awake() + { + this.m_btnOpen = (base.transform.Find("Select/Play").GetComponent("XUIButton") as IXUIButton); + this.m_btnClose = (base.transform.Find("Select/Pause").GetComponent("XUIButton") as IXUIButton); + this.m_btnRadio = (base.transform.Find("Radio").GetComponent("XUIButton") as IXUIButton); + this.m_objSelect = base.transform.Find("Select").gameObject; + } + } +} -- cgit v1.1-26-g67d0