docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsComponentUsed

    IsComponentUsed(Type)

    Determine if component is used by the build pipeline of this build configuration. Returns false if this build configuration does not have a build pipeline.

    Declaration
    public bool IsComponentUsed(Type type)
    Parameters
    Type Name Description
    Type type

    The component type.

    Returns
    Type Description
    bool

    true if the component is used by the build pipeline, false otherwise.

    IsComponentUsed<T>()

    Determine if component is used by the build pipeline of this build configuration. Returns false if this build configuration does not have a build pipeline.

    Declaration
    public bool IsComponentUsed<T>() where T : IBuildComponent
    Returns
    Type Description
    bool

    true if the component is used by the build pipeline, false otherwise.

    Type Parameters
    Name Description
    T

    The component 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)