docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(EntityManagerDifferOptions, AllocatorHandle)

    Generates a detailed change set for the world. All entities to be considered for diffing must have the EntityGuid component with a unique value.

    Declaration
    public EntityChanges GetChanges(EntityManagerDifferOptions options, AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    EntityManagerDifferOptions options

    A set of options which can be toggled.

    AllocatorManager.AllocatorHandle allocator

    The allocator to use for the results object.

    Returns
    Type Description
    EntityChanges

    A set of changes for the world since the last fast-forward.

    Remarks

    The resulting EntityChanges must be disposed when no longer needed.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)