perf: 接入所有怪物
This commit is contained in:
@@ -270,6 +270,7 @@ export class PlayerController extends Component {
|
||||
return; // 已经是目标动画,不需要切换
|
||||
}
|
||||
|
||||
|
||||
const animation = this.player.getComponent(Animation);
|
||||
if (animation) {
|
||||
// 检查动画是否存在
|
||||
|
||||
Reference in New Issue
Block a user