docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOrderVersion

    GetOrderVersion()

    Gets the order version number assigned to this chunk.

    Declaration
    public readonly uint GetOrderVersion()
    Returns
    Type Description
    uint

    The current order version of this chunk.

    Remarks

    Every time you perform a structural change affecting a chunk, the ECS framework updates the order version of the chunk to the current GlobalSystemVersion value. Structural changes include adding and removing entities, adding or removing the component of an entity, and changing the value of a shared component (except when you change the value for all entities in a chunk at the same time).

    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)