# GetWriteGroups(in TypeInfo)

> Obsolete. Retrieves a pointer to an array of WriteGroups for the provided TypeInfo.

## Definition

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

## GetWriteGroups(TypeInfo)

> **Warning:**
>
> **Deprecated.** Write groups are deprecated and will be removed. (RemovedAfter Entities 6.7)

```csharp
public static TypeIndex* GetWriteGroups(in TypeManager.TypeInfo typeInfo)
```

### Parameters

**** (\[TypeInfo]\(/engine/7000.0/script-reference/unity/entities/typemanager/typeinfo)): TypeInfo for the component with a WriteGroup attribute

### Returns

| Type                                                                       | Description                                                             |
| -------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [TypeIndex\*](/engine/7000.0/script-reference/unity/entities/typeindex.md) | Returns a pointer to an array of WriteGroups for the provided TypeInfo. |
