This commit is contained in:
walkpan
2024-07-29 07:58:58 +08:00
parent 1c7240d914
commit 44005768a9
13 changed files with 416 additions and 32 deletions

View File

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