docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetBuildArtifact

    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.

    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)