英雄技能相关字段修改

This commit is contained in:
2025-02-02 20:58:25 +08:00
parent 215fcd3a76
commit 2e53786aa0
24 changed files with 143 additions and 840 deletions

View File

@@ -12,18 +12,8 @@ import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ec
@ecs.register('MonModel')
export class MonModelComp extends ecs.Comp {
/** 角色编号 */
id: number = -1;
/** 角色名 */
name: string = "mon";
/** speed */
// speed: number = 0;
/** 动画名资源 */
anim: string = "mon";
reset() {
this.id = -1;
// this.speed = 0;
this.name = "";
}
}