Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ removeTracked
Method
removeTracked
packages/core/src/ECS/Systems/EntityCache.ts:92–94 ·
view source on GitHub ↗
* 移除被跟踪的实体 * * @param entity 要移除的实体
(entity: Entity)
Source
from the content-addressed store, hash-verified
90
* @param entity 要移除的实体
91
*/
92
public removeTracked(entity: Entity): void {
93
this._trackedEntities.delete(entity);
94
}
95
96
/**
97
* 检查实体是否被跟踪
Callers
2
handleEntityComponentChanged
Function · 0.80
updateEntityTracking
Function · 0.80
Calls
1
delete
Method · 0.65
Tested by
no test coverage detected