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

Method addTracked

packages/core/src/ECS/Systems/EntityCache.ts:83–85  ·  view source on GitHub ↗

* 添加被跟踪的实体 * * @param entity 要跟踪的实体

(entity: Entity)

Source from the content-addressed store, hash-verified

81 * @param entity 要跟踪的实体
82 */
83 public addTracked(entity: Entity): void {
84 this._trackedEntities.add(entity);
85 }
86
87 /**
88 * 移除被跟踪的实体

Callers 2

updateEntityTrackingFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected