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
Exceptions
System.NullReferenceException
if the entity is deleted.