Class BuildArtifacts | Entities | 0.2.0-preview.18
docs.unity3d.com
    Show / Hide Table of Contents

    Class BuildArtifacts

    API for managing build artifacts.

    Inheritance
    Object
    BuildArtifacts
    Namespace: Unity.Build
    Syntax
    public static class BuildArtifacts

    Methods

    GetBuildArtifact(BuildSettings, Type)

    Get the value of the first IBuildArtifact that is assignable to type Type.

    Declaration
    public static IBuildArtifact GetBuildArtifact(BuildSettings settings, Type type)
    Parameters
    Type Name Description
    BuildSettings settings

    The BuildSettings that was used to store the IBuildArtifact.

    Type type

    The type of the IBuildArtifact.

    Returns
    Type Description
    IBuildArtifact

    The IBuildArtifact if found, null otherwise.

    GetBuildArtifact<T>(BuildSettings)

    Get the value of the first IBuildArtifact that is assignable to type T.

    Declaration
    public static T GetBuildArtifact<T>(BuildSettings settings)
        where T : class, IBuildArtifact
    Parameters
    Type Name Description
    BuildSettings settings

    The BuildSettings that was used to store the IBuildArtifact.

    Returns
    Type Description
    T

    The IBuildArtifact if found, null otherwise.

    Type Parameters
    Name Description
    T

    The type of the IBuildArtifact.

    GetBuildResult(BuildSettings)

    Get the last BuildPipelineResult from building the BuildSettings specified.

    Declaration
    public static BuildPipelineResult GetBuildResult(BuildSettings settings)
    Parameters
    Type Name Description
    BuildSettings settings

    The BuildSettings that was used to store the IBuildArtifact.

    Returns
    Type Description
    BuildPipelineResult

    The BuildPipelineResult if found, null otherwise.

    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