Documentation

Unity Engine


Unity Engine


WithAllChunkComponent<T>()

Add a required Chunk Component type to the query, which must be enabled.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public SystemAPIQueryBuilder WithAllChunkComponent<T>()

Returns

Type

Description

SystemAPIQueryBuilderThe builder object that invoked this method.

Remarks

Call this method on the query builder to find entities that have all the specified chunk components. Chunk components are a distinct component type, which are different from adding the same type as a standard component.
To add additional required Chunk Components, call this method multiple times.