소스 검색

奖励星星闪闪bug修复

薛鸿潇 5 년 전
부모
커밋
6b89a83a7f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      assets/script/game/module/reward/Reward.ts

+ 1 - 0
assets/script/game/module/reward/Reward.ts

@@ -186,6 +186,7 @@ export default class Reward extends cc.Component {
         if (!gData.reward.data || !gData.reward.data.length) return;
         if (!gData.reward.data || !gData.reward.data.length) return;
         mk.audio.playEffect("rewardOpen");
         mk.audio.playEffect("rewardOpen");
         this.hb_star.active = true;
         this.hb_star.active = true;
+        this.hb_star.getComponent(sp.Skeleton).animation = 'animation';
         this.cur_stage = LidType.none;
         this.cur_stage = LidType.none;
 
 
         // 数据排序:多条奖励,只展示红包,把红包放在首位
         // 数据排序:多条奖励,只展示红包,把红包放在首位