docs.unity.cn
    Show / Hide Table of Contents

    Struct RemoteContentLocation

    This struct contains all information needed to download a remote content file.

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

    Fields

    Name Description
    Crc

    The CRC value for the remote data. This is used to detect data corruption.

    Hash

    The hash of the contents of the remote data.

    Path

    The path of the remote content - this is typically the url.

    Size

    The size, in bytes, of the remote data.

    Type

    The type of location. This can be used by download services to determine if they are compatible.

    Properties

    Name Description
    IsValid

    Returns true if the Hash is valid.

    Methods

    Name Description
    Equals(RemoteContentLocation)

    Checks if the path to a remote file is equal to another.

    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