EntitySchema.GetComponentType_T_().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntitySchema

EntitySchema.GetComponentType() Method

Return the ComponentType of a struct implementing IComponent.

public Friflo.Engine.ECS.ComponentType GetComponentType<T>()
    where T : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;

Type parameters

T

Returns

ComponentType

Contents

  1. 0.1Friflo.Engine.ECS.EntitySchema
  2. 1EntitySchema.GetComponentType() Method