Skip to content

Struct Inc<T1> ​

Namespace: KenseiECS

Spec requiring a component: adds an Inc constraint for T1.

csharp
public struct Inc<T1> : IFilterSpec where T1 : struct, IComponent

Type Parameters ​

T1

Required component type.

Implements ​

IFilterSpec

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Methods ​

Apply(FilterBuilder) ​

Adds this spec's constraints to builder.

csharp
public void Apply(FilterBuilder builder)

Parameters ​

builder FilterBuilder

Builder that receives the constraints.