Struct AssetState | Addressables | 1.7.5
docs.unity.cn
    Show / Hide Table of Contents

    Struct AssetState

    The given state of an Asset. Represented by its guid and hash.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    [Serializable]
    public struct AssetState : IEquatable<AssetState>

    Fields

    guid

    Asset states GUID.

    Declaration
    public GUID guid
    Field Value
    Type Description
    GUID

    hash

    Asset State hash.

    Declaration
    public Hash128 hash
    Field Value
    Type Description
    Hash128

    Methods

    Equals(AssetState)

    Check if one asset state is equal to another.

    Declaration
    public bool Equals(AssetState other)
    Parameters
    Type Name Description
    AssetState other

    Right hand side of comparision.

    Returns
    Type Description
    Boolean

    Returns true if the Asset States are equal to one another.

    Implements
    IEquatable<T>.Equals(T)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX