diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs new file mode 100644 index 00000000..fa59385d --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs @@ -0,0 +1,104 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ internal class GVGBattlePrepareBehaviour : DlgBehaviourBase
+ {
+ protected internal GameObject mBlueView;
+
+ protected internal IXUISlider mBlueCourageBar;
+
+ protected internal IXUISlider mRedCourageBar;
+
+ protected internal GameObject BlueInspireTween = null;
+
+ protected internal GameObject RedInspireTween = null;
+
+ protected internal GameObject mUp;
+
+ protected internal GameObject mDown;
+
+ protected internal IXUISprite mUpSprite;
+
+ protected internal IXUISprite mDownSprite;
+
+ protected internal GameObject mUpTips;
+
+ protected internal GameObject mDownTips;
+
+ protected internal GameObject mGoPrepare = null;
+
+ protected internal GameObject mGoBattle = null;
+
+ protected internal GameObject mGoBg = null;
+
+ protected internal IGVGBattleMember mBluePanel;
+
+ protected internal GuildArenaInspireCD mInspireCD;
+
+ protected internal GameObject mEncourageButton;
+
+ protected internal GameObject mEncourageButtonBg;
+
+ protected internal Transform mCombatInfo;
+
+ protected internal GameObject mCombatScore;
+
+ protected internal IXUILabel mLeftTime;
+
+ protected internal IXUILabel mRoundLabel;
+
+ protected internal GameObject mBlueCourage;
+
+ protected internal GameObject mRedCourage;
+
+ protected internal GuildArenaBattleDuelInfo mBattleDuelInfo;
+
+ protected internal Transform mBattleSkillTransform;
+
+ protected internal IXUISprite mLetmedieUpSpr;
+
+ protected internal IXUISprite mLetmedieDownSpr;
+
+ protected internal IXUISprite mEncourageSpr;
+
+ protected internal IXUISprite mHelpSpr;
+
+ protected internal IXUISprite mLeftCloseSpr;
+
+ protected virtual void Awake()
+ {
+ this.mGoBg = base.transform.Find("Bg").gameObject;
+ this.mGoPrepare = base.transform.Find("Prepare").gameObject;
+ this.mGoBattle = base.transform.Find("Battle").gameObject;
+ this.mCombatInfo = base.transform.Find("Battle/Info");
+ this.mCombatScore = base.transform.Find("Battle/Score").gameObject;
+ this.mBlueView = base.transform.Find("Bg/LeftView").gameObject;
+ this.mBlueCourage = base.transform.Find("Battle/Encourage/Blue").gameObject;
+ this.mRedCourage = base.transform.Find("Battle/Encourage/Red").gameObject;
+ this.mBlueCourageBar = (base.transform.Find("Battle/Encourage/Blue/Bar").GetComponent("XUISlider") as IXUISlider);
+ this.mRedCourageBar = (base.transform.Find("Battle/Encourage/Red/Bar").GetComponent("XUISlider") as IXUISlider);
+ this.mUp = base.transform.Find("Bg/LetmedieUp").gameObject;
+ this.mUpSprite = (this.mUp.GetComponent("XUISprite") as IXUISprite);
+ this.mDown = base.transform.Find("Bg/LetmedieDown").gameObject;
+ this.mDownSprite = (this.mDown.GetComponent("XUISprite") as IXUISprite);
+ this.BlueInspireTween = base.transform.Find("Battle/Encourage/Blue/Time").gameObject;
+ this.RedInspireTween = base.transform.Find("Battle/Encourage/Red/Time").gameObject;
+ this.mEncourageButton = base.transform.Find("Battle/GuildMember/Encourage").gameObject;
+ this.mEncourageButtonBg = base.transform.Find("Battle/Encourage/Bg1").gameObject;
+ this.mLeftTime = (base.transform.Find("LeftTime").GetComponent("XUILabel") as IXUILabel);
+ this.mRoundLabel = (base.transform.Find("GuildAreanStage").GetComponent("XUILabel") as IXUILabel);
+ this.mBattleSkillTransform = base.transform.Find("KillInfo");
+ this.mLetmedieUpSpr = (this.mGoBg.transform.Find("LetmedieUp").GetComponent("XUISprite") as IXUISprite);
+ this.mLetmedieDownSpr = (this.mGoBg.transform.Find("LetmedieDown").GetComponent("XUISprite") as IXUISprite);
+ this.mUpTips = base.transform.Find("Bg/LetmedieUpBg").gameObject;
+ this.mDownTips = base.transform.Find("Bg/LetmedieDownBg").gameObject;
+ this.mEncourageSpr = (base.transform.Find("Battle/GuildMember/Encourage").GetComponent("XUISprite") as IXUISprite);
+ this.mHelpSpr = (base.transform.Find("Prepare/Help").GetComponent("XUISprite") as IXUISprite);
+ this.mLeftCloseSpr = (this.mGoBg.transform.Find("LeftView/close").GetComponent("XUISprite") as IXUISprite);
+ }
+ }
+}
|