EntityStore.TryGetEntityById(int,Entity).md

March 31, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityStore

EntityStore.TryGetEntityById(int, Entity) Method

Get the Entity associated with the passed id.
Returns true if passed id is valid (id < Capacity).
The returned entity can be null (IsNull == true).

public bool TryGetEntityById(int id, out Friflo.Engine.ECS.Entity entity);

Parameters

id System.Int32

entity Entity

Returns

System.Boolean

Contents

  1. 0.1Friflo.Engine.ECS.EntityStore
  2. 1EntityStore.TryGetEntityById(int, Entity) Method