# WithAnyAttribute(params Type[])

> Specifies that this IJobEntity should include any ComponentTypes found as attributes of the IJobEntity

## Definition

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

## WithAnyAttribute(Type\[])

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

### Parameters

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