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

Contents

  1. 0.1Friflo.Engine.ECS.EntitySchema
  2. 1EntitySchema.Components Property
  3. 1.1Remarks