Documentation

Unity Engine


Unity Engine


AddChangedVersionFilter(ComponentType)

Filters out entities in chunks for which the specified component has not changed. Additive with other filter functions.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void AddChangedVersionFilter(ComponentType componentType)

Parameters

componentType

ComponentType to mark as changed on this EntityQuery's filter.

Remarks

Saves a given ComponentType's index in RequiredComponents in this group's Changed filter.