MCPcopy Create free account
hub / github.com/esengine/esengine / addSystem

Method addSystem

packages/core/src/ECS/Scene.ts:1200–1202  ·  view source on GitHub ↗

* 添加系统到场景(addEntityProcessor的别名) * @param system 系统

(system: EntitySystem)

Source from the content-addressed store, hash-verified

1198 * @param system 系统
1199 */
1200 public addSystem(system: EntitySystem) {
1201 return this.addEntityProcessor(system);
1202 }
1203
1204 /**
1205 * 从场景中删除EntitySystem处理器

Callers

nothing calls this directly

Calls 1

addEntityProcessorMethod · 0.95

Tested by

no test coverage detected