fix(ASTS) 修复技能攻击场景移动时技能指示器没有更新的问题

This commit is contained in:
chicrobot committed 2026-01-30 16:34:25 +08:00
1 parent 428e192690
commit d52236347d
1 file changed
+5
@@ -315,6 +315,11 @@ export default class AttackSkillTestScene extends Phaser.Scene {
this.cameras.main.stopFollow(); this.cameras.main.stopFollow();
} }
}); });
// 当技能轮盘激活时,每帧更新技能预览,确保角色移动时指示器也会更新
if (this.skillWheel && this.skillWheel.isActive && this.currentlyControlled) {
this.updateSkillPreview();
}
} }
/** /**