docs.unity.cn
    Show / Hide Table of Contents

    Struct RemoteContentId

    Identifier of a remote content resource. This is used to find the RemoteContentLocation of a resource.

    Namespace: Unity.Entities.Content
    Syntax
    [Serializable]
    public struct RemoteContentId : IEquatable<RemoteContentId>

    Constructors

    Name Description
    RemoteContentId(in FixedString512Bytes)

    Construct an id with only the path. The Hash is computed from the name.

    RemoteContentId(in FixedString512Bytes, Hash128)

    Construct an id with a name and custom hash.

    Fields

    Name Description
    Name

    The name of the content. This is ususally set to the path of the asset.

    Properties

    Name Description
    Hash

    The hash, used to compare ids. This is either set as the has of the name or to a custom hash.

    IsValid

    True if the id is valid.

    Methods

    Name Description
    Equals(RemoteContentId)
    GetHashCode()

    Gets the path to the hash code.

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