# WriteGroupAttribute(Type)

> WriteGroupAttribute

## Definition

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

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

```csharp
public WriteGroupAttribute(Type targetType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Output type the component decorated with this attribute (input) expects to be written by.
