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

Method updateGlobalSystems

packages/core/src/ECS/World.ts:386–394  ·  view source on GitHub ↗

* @zh 更新World中的全局System * @en Update global systems in World * * @internal Called by Core.update()

()

Source from the content-addressed store, hash-verified

384 * @internal Called by Core.update()
385 */
386 public updateGlobalSystems(): void {
387 if (!this._isActive) {
388 return;
389 }
390
391 for (const system of this._globalSystems) {
392 system.update?.();
393 }
394 }
395
396 /**
397 * @zh 更新World中的所有激活Scene

Callers 4

updateAllMethod · 0.45
updateMethod · 0.45
World.test.tsFile · 0.45

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected