Class AddressableAssetBuildResult | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class AddressableAssetBuildResult

    Contains information about the status of the build.

    Inheritance
    System.Object
    AddressableAssetBuildResult
    AddressablesPlayerBuildResult
    AddressablesPlayModeBuildResult
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public class AddressableAssetBuildResult : IDataBuilderResult

    Properties

    Duration

    Duration of build, in seconds.

    Declaration
    public double Duration { get; set; }
    Property Value
    Type Description
    System.Double
    Implements
    IDataBuilderResult.Duration

    Error

    Error that caused the build to fail.

    Declaration
    public string Error { get; set; }
    Property Value
    Type Description
    System.String
    Implements
    IDataBuilderResult.Error

    LocationCount

    The number of addressable assets contained in the build.

    Declaration
    public int LocationCount { get; set; }
    Property Value
    Type Description
    System.Int32

    OutputPath

    Path of runtime settings file

    Declaration
    public string OutputPath { get; set; }
    Property Value
    Type Description
    System.String
    Implements
    IDataBuilderResult.OutputPath

    Methods

    CreateResult<TResult>(String, Int32, Double, String)

    Declaration
    public static TResult CreateResult<TResult>(string settingsPath, int locCount, double dur, string err = "")
        where TResult : IDataBuilderResult
    Parameters
    Type Name Description
    System.String settingsPath
    System.Int32 locCount
    System.Double dur
    System.String err
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TResult
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX