去掉碰撞系统
This commit is contained in:
@@ -5,19 +5,8 @@ import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ec
|
||||
*/
|
||||
@ecs.register('HeroModel')
|
||||
export class HeroModelComp 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