* @zh 更新World中的全局System * @en Update global systems in World * * @internal Called by Core.update()
()
| 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 |
no test coverage detected