Class CachedAssetState | Addressables | 1.7.5
docs.unity.cn
    Show / Hide Table of Contents

    Class CachedAssetState

    The Cached Asset State of an Addressable Asset.

    Inheritance
    Object
    CachedAssetState
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    [Serializable]
    public class CachedAssetState : IEquatable<CachedAssetState>

    Fields

    asset

    The Asset State.

    Declaration
    public AssetState asset
    Field Value
    Type Description
    AssetState

    bundleFileId

    The name of the cached asset states bundle file.

    Declaration
    public string bundleFileId
    Field Value
    Type Description
    String

    data

    The cached asset state data.

    Declaration
    public object data
    Field Value
    Type Description
    Object

    dependencies

    The Asset State of all dependencies.

    Declaration
    public AssetState[] dependencies
    Field Value
    Type Description
    AssetState[]

    groupGuid

    The guid for the group the cached asset state belongs to.

    Declaration
    public string groupGuid
    Field Value
    Type Description
    String

    Methods

    Equals(CachedAssetState)

    Checks if one cached asset state is equal to another given the asset state and dependency state.

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

    Right hand side of comparision.

    Returns
    Type Description
    Boolean

    Returns true if the cached asset states are equal to one another.

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