docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Combine

    Combine(params ComponentType[][])

    Combine multiple array of component type into one. Duplicate types are removed. It will allocate an array containing all component type. Useful for creating queries during initialization of systems.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes a managed array")]
    public static ComponentType[] Combine(params ComponentType[][] componentTypes)
    Parameters
    Type Name Description
    ComponentType[][] componentTypes
    Returns
    Type Description
    ComponentType[]
    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)