GetJobData<T>()
Gets the job data contained in the playable.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public T GetJobData<T>() where T : struct, IAnimationJob
Returns
Type | Description |
|---|---|
| T | Returns the IAnimationJob data contained in the playable. |
Remarks
The generic type must be the same as the one used for the creation of the playable, otherwise an is raised.
ArgumentExceptionAdditional Resources: the example in AnimationScriptPlayable.Create.