docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InjectFunctionality

    InjectFunctionality(List<object>, List<IFunctionalityProvider>)

    Inject functionality into a list of objects The list is scanned for unique types, and for each unique type, a new provider is created if it does not already exist.

    Declaration
    void InjectFunctionality(List<object> objects, List<IFunctionalityProvider> newProviders = null)
    Parameters
    Type Name Description
    List<object> objects

    The list of objects into which functionality will be injected

    List<IFunctionalityProvider> newProviders

    (Optional) List to which newly created providers will be added

    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)