docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasBuildArtifact

    HasBuildArtifact(Type)

    Determine if a build artifact that is assignable to the specified type is present.

    Declaration
    public virtual bool HasBuildArtifact(Type buildArtifactType)
    Parameters
    Type Name Description
    Type buildArtifactType

    The build artifact type.

    Returns
    Type Description
    bool

    true if a matching build artifact is found, false otherwise.

    HasBuildArtifact<T>()

    Determine if a build artifact that is assignable to the specified type is present.

    Declaration
    public virtual bool HasBuildArtifact<T>() where T : class, IBuildArtifact, new()
    Returns
    Type Description
    bool

    true if a matching build artifact is found, false otherwise.

    Type Parameters
    Name Description
    T

    The build artifact type.

    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)