EntityStore.GetEntityById(int).md
March 31, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntityStore
EntityStore.GetEntityById(int) Method
Returns the Entity with the passed id.
The returned entity can be null (IsNull == true).
public Friflo.Engine.ECS.Entity GetEntityById(int id);
Parameters
id System.Int32
Returns
Exceptions
System.IndexOutOfRangeException
In case passed id invalid (id >= Capacity).