docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildPipelineResult

    Holds the results of the execution of a BuildPipeline.

    Inheritance
    object
    BuildPipelineResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Build
    Assembly: solution.dll
    Syntax
    public class BuildPipelineResult

    Properties

    Name Description
    BuildPipeline

    The BuildPipeline that was run.

    BuildSettings

    The BuildSettings used throughout the execution of the BuildPipeline.

    BuildStepsResults

    A list of BuildStepResult collected during the BuildPipeline execution for each IBuildStep.

    Duration

    The total duration of the BuildPipeline execution.

    Failed

    Determine if the execution of the BuildPipeline failed.

    Message

    The message resulting from the execution of this BuildPipeline.

    Succeeded

    Determine if the execution of the BuildPipeline succeeded.

    Methods

    Name Description
    Failure(BuildPipeline, BuildSettings, string)

    Create a new instance of BuildPipelineResult that represent a failed execution.

    LogResult()

    Output the log result to developer debug console.

    Success(BuildPipeline, BuildSettings)

    Create a new instance of BuildPipelineResult that represent a successful execution.

    ToString()

    Get the BuildPipelineResult as a string that can be used for logging.

    TryGetBuildStepResult(IBuildStep, out BuildStepResult)

    Get the BuildStepResult for the specified IBuildStep.

    Operators

    Name Description
    implicit operator bool(BuildPipelineResult)

    Implicit conversion to bool.

    implicit operator BuildStepResult(BuildPipelineResult)

    Implicit conversion to BuildStepResult.

    In This Article
    Back to top
    Copyright © 2024 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)