Documentation

Unity Engine


Unity Engine


WithNone

Specify component types that must be absent, or present and disabled.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

WithNone<T>()

Specify component types that must be absent, or present and disabled.
public QueryEnumerable<T1, T2> WithNone<TComponent1>()

Returns

Type

Description

QueryEnumerable<T, U>QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query.

WithNone<T, U>()

Specify component types that must be absent, or present and disabled.
public QueryEnumerable<T1, T2> WithNone<TComponent1, TComponent2>()

Returns

Type

Description

QueryEnumerable<T, U>QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query.

WithNone<T, U, V>()

Specify component types that must be absent, or present and disabled.
public QueryEnumerable<T1, T2> WithNone<TComponent1, TComponent2, TComponent3>()

Returns

Type

Description

QueryEnumerable<T, U>QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query.