AddChangedVersionFilter(ComponentType)
Filters out entities in chunks for which the specified component has not changed. Additive with other filter functions.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void AddChangedVersionFilter(ComponentType componentType)
Parameters
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.