EntitySchema.Components.md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntitySchema
EntitySchema.Components Property
Return all component types - structs implementing IComponent.
public System.ReadOnlySpan<Friflo.Engine.ECS.ComponentType> Components { get; }
Property Value
System.ReadOnlySpan<ComponentType>
Remarks
StructIndex is equal to the array index
Components[0] is always null