greg 4 年之前
父節點
當前提交
a5295e6fd1
共有 2 個文件被更改,包括 225 次插入140 次删除
  1. 221 136
      assets/resources/ui/FightingUI.prefab
  2. 4 4
      assets/scripts/games/ui/fightings/FightingMediator.ts

文件差異過大導致無法顯示
+ 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;
     }

部分文件因文件數量過多而無法顯示