EntityData.Has_T_().md

November 22, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityData

EntityData.Has() Method

Returns true if the entity contains a component of the specified type.

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

Type parameters

T

Returns

System.Boolean

Exceptions

System.NullReferenceException
if the entity is deleted.

Contents

  1. 0.1Friflo.Engine.ECS.EntityData
  2. 1EntityData.Has() Method