This commit is contained in:
pan@work
2024-07-29 11:05:17 +08:00
parent f131de6489
commit 5fa8794c09
18 changed files with 304 additions and 44 deletions

View File

@@ -17,13 +17,13 @@ export class MonsterModelComp extends ecs.Comp {
/** 角色名 */
name: string = "monster";
/** speed */
speed: number = 0;
// speed: number = 0;
/** 动画名资源 */
anim: string = "monster";
reset() {
this.id = -1;
this.speed = 0;
// this.speed = 0;
this.name = "";
}
}