Documentation

Unity Engine

Unity Engine

WithAbsent

Specify all read-only component types that must NOT be present.
Read time 1 minuteLast updated 6 days ago

Definition

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

WithAbsent<T>()

Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1> WithAbsent<TComponent1>()

Returns

Type

Description

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

WithAbsent<T, U>()

Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1> WithAbsent<TComponent1, TComponent2>()

Returns

Type

Description

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

WithAbsent<T, U, V>()

Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1> WithAbsent<TComponent1, TComponent2, TComponent3>()

Returns

Type

Description

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