From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/HallFameShareBehavior.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/HallFameShareBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/HallFameShareBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/HallFameShareBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/HallFameShareBehavior.cs new file mode 100644 index 00000000..5e586bdc --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/HallFameShareBehavior.cs @@ -0,0 +1,42 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class HallFameShareBehavior : DlgBehaviourBase + { + public IXUIButton ShareBtn; + + public IXUIButton CloseBtn; + + public IUIDummy uiDummy; + + public Transform ParticleHanging; + + public IXUILabel RecentSeason; + + public IXUILabel RoleName; + + public IXUILabel ChampionTimes; + + public IXUILabel SeasonSpan; + + public IXUILabel TopTenTimes; + + private void Awake() + { + this.ShareBtn = (base.transform.Find("Bg/Board/ShareBtn").GetComponent("XUIButton") as IXUIButton); + this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + Transform transform = base.transform.Find("Bg/Snapshot"); + this.uiDummy = (transform.GetComponent("UIDummy") as IUIDummy); + this.ParticleHanging = base.transform.Find("Bg/pHanging"); + this.RecentSeason = (base.transform.Find("Bg/Board/RecentSeason").GetComponent("XUILabel") as IXUILabel); + this.RoleName = (base.transform.Find("Bg/Board/RoleName").GetComponent("XUILabel") as IXUILabel); + this.ChampionTimes = (base.transform.Find("Bg/Board/ChampionTimes").GetComponent("XUILabel") as IXUILabel); + this.SeasonSpan = (base.transform.Find("Bg/Board/SeasonSpan").GetComponent("XUILabel") as IXUILabel); + this.TopTenTimes = (base.transform.Find("Bg/Board/TopTenTimes").GetComponent("XUILabel") as IXUILabel); + } + } +} -- cgit v1.1-26-g67d0