Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

AnimationScriptPlayable.GetJobData

Switch to Manual
public T GetJobData ();

Returns

T Returns the IAnimationJob data contained in the playable.

Description

Gets the job data contained in the playable.

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

See Also: the example in AnimationScriptPlayable.Create.