From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/BroadcastBehaviour.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/BroadcastBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/BroadcastBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/BroadcastBehaviour.cs b/Client/Assets/Scripts/XMainClient/BroadcastBehaviour.cs new file mode 100644 index 00000000..fa7e7975 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/BroadcastBehaviour.cs @@ -0,0 +1,32 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; +using XUtliPoolLib; + +namespace XMainClient +{ + internal class BroadcastBehaviour : DlgBehaviourBase + { + public ILoopScrollView loopScrool; + + public IXUIButton m_btnBarrage; + + public IXUIButton m_btnCamera; + + public IXUILabel m_lblCamera; + + public IXUIButton m_btnClose; + + public IXUIButton m_btnShare; + + private void Awake() + { + this.m_btnBarrage = (base.transform.Find("Bg/Btn_EndBarrage").GetComponent("XUIButton") as IXUIButton); + this.m_btnCamera = (base.transform.Find("Bg/Btn_Camera").GetComponent("XUIButton") as IXUIButton); + this.m_lblCamera = (base.transform.Find("Bg/Btn_Camera/T").GetComponent("XUILabel") as IXUILabel); + this.m_btnClose = (base.transform.Find("Bg/Btn_Close").GetComponent("XUIButton") as IXUIButton); + this.m_btnShare = (base.transform.Find("Bg/Btn_Share").GetComponent("XUIButton") as IXUIButton); + this.loopScrool = (base.transform.Find("Bg/Barrages").GetComponent("LoopScrollView") as ILoopScrollView); + } + } +} -- cgit v1.1-26-g67d0