docs.unity.cn
    Show / Hide Table of Contents

    Field Version

    The generational version of the entity.

    Namespace: Unity.Entities
    Syntax
    public int Version
    Returns
    Type Description
    Int32

    Used to determine whether this Entity object still identifies an existing entity.

    Remarks

    The Version number can, theoretically, overflow and wrap around within the lifetime of an application. For this reason, you cannot assume that an Entity instance with a larger Version is a more recent incarnation of the entity than one with a smaller Version (and the same Index).

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use