From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/XDragonGuildTaskBehaviour.cs | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XDragonGuildTaskBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XDragonGuildTaskBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XDragonGuildTaskBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XDragonGuildTaskBehaviour.cs new file mode 100644 index 00000000..e2cd6cfa --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XDragonGuildTaskBehaviour.cs @@ -0,0 +1,56 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + public class XDragonGuildTaskBehaviour : DlgBehaviourBase + { + public IXUIButton m_close; + + public Transform m_Trooplevel; + + public IXUILabel m_GuildLevel; + + public IXUIProgress m_progress; + + public IXUILabel m_GuildExpMax; + + public IXUILabel m_GuildExpCur; + + public IXUILabel m_cdrewards; + + public IXUICheckBox m_task; + + public IXUICheckBox m_achieve; + + public Transform m_Toptask; + + public Transform m_Topachieve; + + public IXUIWrapContent m_wrapcontent; + + public Transform m_taskrep; + + public Transform m_acieverep; + + private void Awake() + { + this.m_close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Trooplevel = base.transform.Find("Bg/TroopLevel"); + this.m_progress = (this.m_Trooplevel.Find("ProgressBar").GetComponent("XUIProgress") as IXUIProgress); + this.m_GuildLevel = (this.m_Trooplevel.Find("Level").GetComponent("XUILabel") as IXUILabel); + this.m_GuildExpCur = (this.m_Trooplevel.Find("Value").GetComponent("XUILabel") as IXUILabel); + this.m_GuildExpMax = (this.m_Trooplevel.Find("ValueMax").GetComponent("XUILabel") as IXUILabel); + this.m_cdrewards = (base.transform.Find("Bg/CDRewards").GetComponent("XUILabel") as IXUILabel); + this.m_task = (base.transform.Find("Bg/buttons/SelectTask").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_taskrep = base.transform.Find("Bg/buttons/SelectTask/redpoint"); + this.m_achieve = (base.transform.Find("Bg/buttons/SelectAchieve").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_acieverep = base.transform.Find("Bg/buttons/SelectAchieve/redpoint"); + this.m_Toptask = base.transform.Find("Bg/Task/Top/Brunch/Task"); + this.m_Topachieve = base.transform.Find("Bg/Task/Top/Brunch/Achieve"); + this.m_wrapcontent = (base.transform.Find("Bg/Task/ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + } + } +} -- cgit v1.1-26-g67d0