docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct 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)

    Indicates whether the current object is equal to another object of the same type.

    GetHashCode()

    Gets the path to the hash code.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)