fix(hero): 修正英雄和怪物初始默认动画为待机
调整HeroSpine组件的start方法初始调用为idle动画,修改怪物非下落场景下的默认状态从移动改为待机
This commit is contained in:
@@ -221,7 +221,7 @@ export class Monster extends ecs.Entity {
|
||||
if (dropDistance > 0) {
|
||||
view.playEnd("down");
|
||||
} else {
|
||||
view.status_change("move"); // 直接进入移动状态
|
||||
view.status_change("idle"); // 直接进入待机状态
|
||||
}
|
||||
|
||||
move.moving = true;
|
||||
|
||||
Reference in New Issue
Block a user