docs.unity.cn
    Show / Hide Table of Contents

    Struct RuntimeGlobalObjectId

    Runtime version of the editor type GlobalObjectId. These types need to be binary compatible.

    Namespace: Unity.Entities.Serialization
    Syntax
    [Serializable]
    public struct RuntimeGlobalObjectId : IEquatable<RuntimeGlobalObjectId>, IComparable<RuntimeGlobalObjectId>

    Fields

    Name Description
    AssetGUID

    Asset GUID.

    IdentifierType

    Identifier type.

    SceneObjectIdentifier0

    Unique identifier within a scene

    SceneObjectIdentifier1

    Unused.

    Properties

    Name Description
    IsValid

    True if the id is valid.

    Methods

    Name Description
    CompareTo(RuntimeGlobalObjectId)
    Equals(RuntimeGlobalObjectId)
    GetHashCode()

    Returns the hash code of this id.

    ToString()

    Converts the id to a string representation.".

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