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.
阅读时间1 分钟最后更新于 19 天前
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[] |