docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetBuildArtifact

    GetBuildArtifact(Type)

    Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration.

    Declaration
    public override IBuildArtifact GetBuildArtifact(Type buildArtifactType)
    Parameters
    Type Name Description
    Type buildArtifactType

    The build artifact type.

    Returns
    Type Description
    IBuildArtifact

    A build artifact value if found, null otherwise.

    Overrides
    ContextBase.GetBuildArtifact(Type)

    GetBuildArtifact<T>()

    Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration.

    Declaration
    public override T GetBuildArtifact<T>() where T : class, IBuildArtifact, new()
    Returns
    Type Description
    T

    A build artifact value if found, null otherwise.

    Type Parameters
    Name Description
    T

    The build artifact type.

    Overrides
    ContextBase.GetBuildArtifact<T>()
    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)