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

Method findEntityById

packages/core/src/ECS/Scene.ts:867–869  ·  view source on GitHub ↗

* 根据ID查找实体 * @param id 实体ID

(id: number)

Source from the content-addressed store, hash-verified

865 * @param id 实体ID
866 */
867 public findEntityById(id: number): Entity | null {
868 return this.entities.findEntityById(id);
869 }
870
871 /**
872 * 根据句柄查找实体

Callers 15

TilesetPanelFunction · 0.45
TilemapEditorPanelFunction · 0.45
processMethod · 0.45
updateWorldTransformMethod · 0.45
onDestroyMethod · 0.45
handlePlayPreviewFunction · 0.45
buildNodeFunction · 0.45
SceneHierarchyFunction · 0.45
ContentBrowserFunction · 0.45
handleMouseDownFunction · 0.45

Calls

no outgoing calls

Tested by 1

processMethod · 0.36