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/XGuildApplyBehaviour.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XGuildApplyBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XGuildApplyBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XGuildApplyBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XGuildApplyBehaviour.cs new file mode 100644 index 00000000..8724dbe7 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XGuildApplyBehaviour.cs @@ -0,0 +1,42 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XGuildApplyBehaviour : DlgBehaviourBase + { + public IXUIButton m_Close = null; + + public IXUIButton m_BtnApply = null; + + public IXUIButton m_BtnEnterGuild; + + public IXUILabel m_Annoucement; + + public IXUILabel m_PPT; + + public IXUILabel m_NeedApprove; + + public IXUILabel m_ResultNote; + + public GameObject m_ApplyMenu; + + public GameObject m_ResultMenu; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/ApplyMenu/Close").GetComponent("XUIButton") as IXUIButton); + this.m_BtnApply = (base.transform.Find("Bg/ApplyMenu/OK").GetComponent("XUIButton") as IXUIButton); + this.m_BtnEnterGuild = (base.transform.Find("Bg/ResultMenu/OK").GetComponent("XUIButton") as IXUIButton); + this.m_Annoucement = (base.transform.Find("Bg/ApplyMenu/Annoucement").GetComponent("XUILabel") as IXUILabel); + this.m_Annoucement.SetText(""); + this.m_PPT = (base.transform.Find("Bg/ApplyMenu/PPT").GetComponent("XUILabel") as IXUILabel); + this.m_NeedApprove = (base.transform.Find("Bg/ApplyMenu/NeedApprove").GetComponent("XUILabel") as IXUILabel); + this.m_ResultNote = (base.transform.Find("Bg/ResultMenu/Note").GetComponent("XUILabel") as IXUILabel); + this.m_ApplyMenu = base.transform.Find("Bg/ApplyMenu").gameObject; + this.m_ResultMenu = base.transform.Find("Bg/ResultMenu").gameObject; + } + } +} -- cgit v1.1-26-g67d0