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.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Combine(ComponentType[][])
[ExcludeFromBurstCompatTesting("Takes a managed array")]public static ComponentType[] Combine(params ComponentType[][] componentTypes)
Parameters
Returns
Type | Description |
|---|---|
| ComponentType[] |