| Parameter | Description |
|---|---|
| allocator | The allocation type to use for the returned NativeArray. |
NativeArray<ComponentType> A native array containing the ComponentType objects of this archetype.
Gets the types of the components making up this archetype.
The set of component types in an archetype cannot change; adding components to an entity or removing components from an entity changes the archetype of that entity (possibly resulting in the creation of a new archetype). The original archetype remains unchanged.
| Parameter | Description |
|---|---|
| allocator | The allocation type to use for the returned NativeArray. |
NativeArray<ComponentType> A native array containing the ComponentType objects of this archetype.
Gets the types of the components making up this archetype.
The set of component types in an archetype cannot change; adding components to an entity or removing components from an entity changes the archetype of that entity (possibly resulting in the creation of a new archetype). The original archetype remains unchanged.