docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetRequiredComponents

    GetRequiredComponents(BuildContext)

    Get all required components from BuildConfiguration.

    Declaration
    public IEnumerable<IBuildComponent> GetRequiredComponents(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context

    The BuildContext used by the execution of this BuildStep.

    Returns
    Type Description
    IEnumerable<IBuildComponent>

    List of required components.

    GetRequiredComponents(BuildContext, Type)

    Get all required components from BuildConfiguration, that matches Type.

    Declaration
    public IEnumerable<IBuildComponent> GetRequiredComponents(BuildContext context, Type type)
    Parameters
    Type Name Description
    BuildContext context

    The BuildContext used by the execution of this BuildStep.

    Type type

    Type of the components.

    Returns
    Type Description
    IEnumerable<IBuildComponent>

    List of required components.

    GetRequiredComponents<T>(BuildContext)

    Get all required components from BuildConfiguration, that matches T.

    Declaration
    public IEnumerable<T> GetRequiredComponents<T>(BuildContext context) where T : IBuildComponent
    Parameters
    Type Name Description
    BuildContext context

    The BuildContext used by the execution of this BuildStep.

    Returns
    Type Description
    IEnumerable<T>

    List of required components.

    Type Parameters
    Name Description
    T

    Type of the components.

    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)