From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/GuildTerritoryBahaviour.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/GuildTerritoryBahaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/GuildTerritoryBahaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/GuildTerritoryBahaviour.cs b/Client/Assets/Scripts/XMainClient/UI/GuildTerritoryBahaviour.cs new file mode 100644 index 00000000..82fe2a20 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/GuildTerritoryBahaviour.cs @@ -0,0 +1,31 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class GuildTerritoryBahaviour : DlgBehaviourBase + { + public IXUIButton _close_btn; + + public IXUILabel m_lblGuildName; + + public IXUILabel m_lblTime; + + public IXUISprite m_sprIcon; + + public IXUIScrollView m_scroll; + + public IXUIWrapContent m_wrap; + + private void Awake() + { + this._close_btn = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton); + this.m_lblGuildName = (base.transform.Find("Winner/Guild").GetComponent("XUILabel") as IXUILabel); + this.m_lblTime = (base.transform.Find("Time/Guild").GetComponent("XUILabel") as IXUILabel); + this.m_sprIcon = (base.transform.Find("Sprite").GetComponent("XUISprite") as IXUISprite); + this.m_wrap = (base.transform.Find("ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_scroll = (base.transform.Find("ScrollView").GetComponent("XUIScrollView") as IXUIScrollView); + } + } +} -- cgit v1.1-26-g67d0