Documentation

Unity Engine


Unity Engine


WithNone

Specify component types that must be absent.
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.
public QueryEnumerableWithEntity<T1, T2, T3, T4> WithNone<TComponent1>()

Returns

Type

Description

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

WithNone<T, U>()

Specify component types that must be absent.
public QueryEnumerableWithEntity<T1, T2, T3, T4> WithNone<TComponent1, TComponent2>()

Returns

Type

Description

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

WithNone<T, U, V>()

Specify component types that must be absent.
public QueryEnumerableWithEntity<T1, T2, T3, T4> WithNone<TComponent1, TComponent2, TComponent3>()

Returns

Type

Description

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