# SetJobData<T>(T)

> Sets a new job data in the playable.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.6/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public void SetJobData<T>(T jobData) where T : struct, IAnimationJob
```

### Parameters

**** (T): The new [IAnimationJob](/engine/6000.6/script-reference/unityengine/animations/ianimationjob.md) data to set in the playable.

### Remarks

The generic type must be the same as the one used for the creation of the playable, otherwise an `ArgumentException` is raised.

Additional Resources: [AnimationScriptPlayable.Create](/engine/6000.6/script-reference/unityengine/animations/animationscriptplayable/create.md).
