# IsBakingOnlyType(TypeIndex)

> TypeIndex.IsBakingOnlyType

## Definition

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

```csharp
public static bool IsBakingOnlyType(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): TypeIndex for a component

### Returns

| Type                                                          | Description                                                                                                                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns if the component type is decorated with the [BakingTypeAttribute](/engine/7000.0/script-reference/unity/entities/bakingtypeattribute.md) attribute. |
