From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/UI/XGuildViewBehaviour.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XGuildViewBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XGuildViewBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XGuildViewBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XGuildViewBehaviour.cs new file mode 100644 index 00000000..1ec4c781 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XGuildViewBehaviour.cs @@ -0,0 +1,32 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XGuildViewBehaviour : DlgBehaviourBase + { + public IXUIButton m_Close = null; + + public IXUIButton m_BtnApply; + + public IXUILabel m_Annoucement; + + public IXUIWrapContent m_WrapContent; + + public IXUIScrollView m_ScrollView; + + public XGuildBasicInfoDisplay m_BasicInfoDisplay = new XGuildBasicInfoDisplay(); + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_BtnApply = (base.transform.Find("Bg/BtnApply").GetComponent("XUIButton") as IXUIButton); + this.m_Annoucement = (base.transform.Find("Bg/Bg3/Announcement").GetComponent("XUILabel") as IXUILabel); + this.m_Annoucement.SetText(""); + this.m_BasicInfoDisplay.Init(base.transform.Find("Bg/BasicInfo/Content"), true); + this.m_ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView); + this.m_WrapContent = (base.transform.Find("Bg/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + } + } +} -- cgit v1.1-26-g67d0