Class CachedAssetState | Addressables | 1.13.1
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023