docs.unity.cn
    Show / Hide Table of Contents

    Method SetChangedVersionFilter

    SetChangedVersionFilter(ComponentType)

    Filters out entities in chunks for which the specified component has not changed.

    Declaration
    public void SetChangedVersionFilter(ComponentType componentType)
    Parameters
    Type Name Description
    ComponentType 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.

    SetChangedVersionFilter(ComponentType[])

    Filters out entities in chunks for which the specified component has not changed.

    Declaration
    public void SetChangedVersionFilter(ComponentType[] componentType)
    Parameters
    Type Name Description
    ComponentType[] componentType

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

    Remarks

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

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021