From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/XFPStrengthenBehaviour.cs | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XFPStrengthenBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XFPStrengthenBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XFPStrengthenBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XFPStrengthenBehaviour.cs new file mode 100644 index 00000000..aff1b3e4 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XFPStrengthenBehaviour.cs @@ -0,0 +1,38 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XFPStrengthenBehaviour : DlgBehaviourBase + { + public GameObject m_tabParentGo; + + public IXUIButton m_Close; + + public IXUIScrollView m_Scroll; + + public IXUILabel m_MyFightLab; + + public IXUILabel m_MyLevelLab; + + public IXUILabel m_RecommendFightLab; + + public IXUITexture m_RateTex; + + public static readonly uint FUNCTION_NUM = 4u; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Scroll = (base.transform.Find("Bg/Content/Panel").GetComponent("XUIScrollView") as IXUIScrollView); + Transform transform = base.transform.Find("Bg/Top"); + this.m_MyFightLab = (transform.Find("MyFightLab").GetComponent("XUILabel") as IXUILabel); + this.m_RecommendFightLab = (transform.Find("RecommendFightLab").GetComponent("XUILabel") as IXUILabel); + this.m_MyLevelLab = (transform.Find("RecommendFightLab/LevelLab").GetComponent("XUILabel") as IXUILabel); + this.m_RateTex = (transform.Find("RateTex").GetComponent("XUITexture") as IXUITexture); + this.m_tabParentGo = base.transform.Find("Bg/functions/scroll").gameObject; + } + } +} -- cgit v1.1-26-g67d0