Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
handleEntityComponentChanged
Function · 0.80
updateEntityTracking
Function · 0.80
Calls
1
add
Method · 0.45
Tested by
no test coverage detected