docs.unity.cn
    Show / Hide Table of Contents

    Constructor EntityGuid

    EntityGuid(Int32, Int32, UInt32, UInt32)

    Initializes a new instance of the EntityGuid.

    Declaration
    public EntityGuid(int originatingId, int originatingSubId, uint namespaceId, uint serial)
    Parameters
    Type Name Description
    Int32 originatingId

    Session-unique ID for the originating object. This is typically the authoring GameObject's InstanceID.

    Int32 originatingSubId

    Secondary session-unique ID for the originating object. This is typically the authoring Component's InstanceID.

    UInt32 namespaceId

    A unique number to identify the namespace

    UInt32 serial

    A unique number used to differentiate Entities associated with the same originating object and namespace

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