docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AssetState

    A struct that represents the state of a deployable asset locally. This should be used to represent the validity of the item itself, such as format and naming. For status relative to the 'live' counterpart, use DeploymentStatus

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.DeploymentApi.Editor
    Assembly: Unity.Services.DeploymentApi.dll
    Syntax
    [Serializable]
    public struct AssetState

    Constructors

    AssetState(string, string, SeverityLevel)

    Constructor of the AssetState.

    Declaration
    public AssetState(string description, string detail, SeverityLevel level)
    Parameters
    Type Name Description
    string description

    Status description.

    string detail

    Detail.

    SeverityLevel level

    Severity of the AssetState

    AssetState(string, string, SeverityLevel, string)

    Constructor of the AssetState.

    Declaration
    public AssetState(string description, string detail, SeverityLevel level, string type)
    Parameters
    Type Name Description
    string description

    Status description.

    string detail

    Detail.

    SeverityLevel level

    Severity of the AssetState

    string type

    The AssetState type

    Properties

    Description

    Description of the state.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string

    Detail

    A detailed description of the state. Displayed in the Status Panel of the Deployment Window on deployment item selection.

    Declaration
    public string Detail { get; }
    Property Value
    Type Description
    string

    Level

    The level associated with this state.

    Declaration
    public SeverityLevel Level { get; }
    Property Value
    Type Description
    SeverityLevel

    Type

    Auxiliary field to identify an AssetState for updating

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)