greg 4 anni fa
parent
commit
a5295e6fd1

File diff suppressed because it is too large
+ 221 - 136
assets/resources/ui/FightingUI.prefab


+ 4 - 4
assets/scripts/games/ui/fightings/FightingMediator.ts

@@ -103,9 +103,9 @@ export class FightingMediator extends GUIMediator {
      * 怒气值技能按钮
      */
     @property({
-        type:ButtonComponent
+        type:Node
     })
-    angerSkillButton:ButtonComponent=null;
+    angerSkillButton:Node=null;
 
     /**
      * 栅栏血量进度条
@@ -387,9 +387,9 @@ export class FightingMediator extends GUIMediator {
      */
     RefreshAngerCount():void{
         if(GameModel.single.angerCount<GameController.single.weapon.weaponConfig.maxAnger){
-            this.angerSkillButton.node.active=false;
+            this.angerSkillButton.active=false;
         }else{
-            this.angerSkillButton.node.active=true;
+            this.angerSkillButton.active=true;
         }
         this.angerCountProgrssBar.progress=GameModel.single.angerCount/GameController.single.weapon.weaponConfig.maxAnger;
     }

Some files were not shown because too many files changed in this diff