# MakeChunkComponentTypeIndex(TypeIndex)

> Creates a new TypeIndex that allows the passed in 'typeindex' to be used as a chunk component.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public static TypeIndex MakeChunkComponentTypeIndex(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): The TypeIndex to use as a chunk component.

### Returns

| Type                                                                     | Description                |
| ------------------------------------------------------------------------ | -------------------------- |
| [TypeIndex](/engine/7000.0/script-reference/unity/entities/typeindex.md) | Returns the new TypeIndex. |
