Sfoglia il codice sorgente

奖励星星闪闪bug修复

薛鸿潇 5 anni fa
parent
commit
6b89a83a7f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
         mk.audio.playEffect("rewardOpen");
         this.hb_star.active = true;
+        this.hb_star.getComponent(sp.Skeleton).animation = 'animation';
         this.cur_stage = LidType.none;
 
         // 数据排序:多条奖励,只展示红包,把红包放在首位