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

Method remove

packages/core/src/ECS/Utils/EntityList.ts:57–59  ·  view source on GitHub ↗

* 移除实体 * @param entity 要移除的实体

(entity: Entity)

Source from the content-addressed store, hash-verified

55 * @param entity 要移除的实体
56 */
57 public remove(entity: Entity): void {
58 this.removeImmediate(entity);
59 }
60
61 /**
62 * 立即移除实体

Callers

nothing calls this directly

Calls 1

removeImmediateMethod · 0.95

Tested by

no test coverage detected