perf: 优化底图可走路径
This commit is contained in:
@@ -939,6 +939,7 @@ export class PlayerController extends Component {
|
||||
|
||||
// 如果是攻击 guai_2 并且成功,创建道具飞向 player 的动画
|
||||
if (otherCollider.node.name === 'guai_2') {
|
||||
this.switchAnimation('stand'); // 玩家站立
|
||||
await this.createPropsFlyToPlayerAnimation();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user