动画替换完成

This commit is contained in:
2024-11-29 16:45:32 +08:00
parent 7c80b3b191
commit 935d3f1185
10 changed files with 257 additions and 224 deletions

View File

@@ -54,7 +54,7 @@ export class Hero extends ecs.Entity {
this.addComponents<ecs.Comp>( MonModelComp);
}
var path = "game/hero/"+smc.heros[uuid].path;
var path = "game/heros/"+smc.heros[uuid].path;
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);