docs.unity.cn
    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
    UInt32

    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).

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023