findEntity(id:)
Returns Entity with the given Entity.ID in the Scene.
Declaration
@MainActor @preconcurrency func findEntity(id: Entity.ID) -> Entity?Parameters
- id:
Entity.IDobtained fromEntity.id
Return Value
Entity with the given Entity.ID, or nil if no such Entity is found in the Scene.