docs(Main.ts): 更新ECS系统初始化注释说明
This commit is contained in:
@@ -30,7 +30,7 @@ export class Main extends Root {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected async initEcsSystem() {
|
protected async initEcsSystem() {
|
||||||
// oops.ecs.add(new EcsPositionSystem());
|
// oops.ecs.add(new EcsPositionSystem()); 手动控制用,没有特殊 ,只需要使用 @ecs.register('SMoveSystem') 装饰器注册就可以了
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user