Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ isTracked
Method
isTracked
packages/core/src/ECS/Systems/EntityCache.ts:101–103 ·
view source on GitHub ↗
* 检查实体是否被跟踪 * * @param entity 要检查的实体
(entity: Entity)
Source
from the content-addressed store, hash-verified
99
* @param entity 要检查的实体
100
*/
101
public isTracked(entity: Entity): boolean {
102
return
this._trackedEntities.has(entity);
103
}
104
105
/**
106
* 使持久缓存失效
Callers
3
isTracking
Function · 0.80
handleEntityComponentChanged
Function · 0.80
updateEntityTracking
Function · 0.80
Calls
1
has
Method · 0.65
Tested by
no test coverage detected