Entity.HasComponent_T_().md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Entity
Entity.HasComponent() Method
Return true if the entity contains a component of the given type.
public bool HasComponent<T>()
where T : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;
Type parameters
T