英雄技能相关字段修改
This commit is contained in:
@@ -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 = "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user