From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/Team/XTeamLeagueRecordBehavior.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/Team/XTeamLeagueRecordBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/Team/XTeamLeagueRecordBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/Team/XTeamLeagueRecordBehavior.cs b/Client/Assets/Scripts/XMainClient/Team/XTeamLeagueRecordBehavior.cs new file mode 100644 index 00000000..cce0bfee --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/Team/XTeamLeagueRecordBehavior.cs @@ -0,0 +1,34 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XTeamLeagueRecordBehavior : DlgBehaviourBase + { + public IXUIButton CloseBtn; + + public IXUIWrapContent WrapContent; + + public IXUILabel WinTimesLabel; + + public IXUILabel LostTimesLabel; + + public IXUILabel WinRateLabel; + + public IXUILabel ConsWinLabel; + + public IXUILabel ConsLoseLabel; + + private void Awake() + { + this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.WrapContent = (base.transform.Find("Bg/Bg/ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.WinTimesLabel = (base.transform.Find("Bg/Message/Win/WinTimes").GetComponent("XUILabel") as IXUILabel); + this.LostTimesLabel = (base.transform.Find("Bg/Message/Lose/LoseTimes").GetComponent("XUILabel") as IXUILabel); + this.WinRateLabel = (base.transform.Find("Bg/Message/Rate/Label").GetComponent("XUILabel") as IXUILabel); + this.ConsWinLabel = (base.transform.Find("Bg/Message/ConsWin/Label").GetComponent("XUILabel") as IXUILabel); + this.ConsLoseLabel = (base.transform.Find("Bg/Message/ConsLose/Label").GetComponent("XUILabel") as IXUILabel); + } + } +} -- cgit v1.1-26-g67d0