perf: 接入所有怪物

This commit is contained in:
richarjiang
2025-09-26 10:02:38 +08:00
parent fc16db386c
commit b83817e246
118 changed files with 3346 additions and 472 deletions

View File

@@ -270,6 +270,7 @@ export class PlayerController extends Component {
return; // 已经是目标动画,不需要切换
}
const animation = this.player.getComponent(Animation);
if (animation) {
// 检查动画是否存在