docs.unity.cn
    Show / Hide Table of Contents

    Method GetOrderVersion

    GetOrderVersion()

    Gets the order version number assigned to this chunk.

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