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

Function after

packages/core/src/ECS/Systems/EntitySystem.ts:370–374  ·  view source on GitHub ↗

* 声明此系统在指定系统之后执行 * Declare this system executes after specified systems * * @param systems 系统名称列表(可使用 'set:' 前缀指定集合)| System names (use 'set:' prefix for sets) * @returns this (用于链式调用 | for chaining) * * @example * ```typescript * class MySystem extends Entity

(...systems: string[])

Source from the content-addressed store, hash-verified

368 * ```
369 */
370 public after(...systems: string[]): this {
371 this._schedulingMetadata.after.push(...systems);
372 this._scene?.markSystemsOrderDirty();
373 return this;
374 }
375
376 /**
377 * 将系统加入指定集合

Callers

nothing calls this directly

Calls 2

markSystemsOrderDirtyMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected