docs.unity.cn
    Show / Hide Table of Contents

    Method Combine

    Combine(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[]
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023