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
    [NotBurstCompatible]
    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
    [NotBurstCompatible]
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use