Documentation

Unity Engine


Unity Engine


WithOptions(EntityQueryOptions)

Specify your own EntityQueryOptions.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public SystemAPIQueryBuilder WithOptions(EntityQueryOptions options)

Parameters

The query options

Returns

Type

Description

SystemAPIQueryBuilderThis query builder object, to allow chaining multiple method calls.

Remarks

This method may not be invoked more than once for each query description. Subsequent calls will override previous options, rather than adding to them. Use the bitwise OR operator '|' to combine multiple options.