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

Function inSet

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

* 将系统加入指定集合 * Add system to specified sets * * @param sets 集合名称列表 | Set names * @returns this (用于链式调用 | for chaining) * * @example * ```typescript * class MySystem extends EntitySystem { * constructor() { * super(); * this.in

(...sets: string[])

Source from the content-addressed store, hash-verified

391 * ```
392 */
393 public inSet(...sets: string[]): this {
394 this._schedulingMetadata.sets.push(...sets);
395 this._scene?.markSystemsOrderDirty();
396 return this;
397 }
398
399 /**
400 * 获取系统的执行阶段

Callers

nothing calls this directly

Calls 2

markSystemsOrderDirtyMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected