# WithDisabledAttribute(params Type[])

> Specifies that this IJobEntity should include all of the component types specified as part of the attribute, but they must all be disabled.

## Definition

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

## WithDisabledAttribute(Type\[])

```csharp
public WithDisabledAttribute(params Type[] types)
```

### Parameters

**** (\[Type\[]]\(https\://learn.microsoft.com/dotnet/api/system.type)): The required disabled component types
