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

AnimationScriptPlayable.SetJobData

Switch to Manual
public void SetJobData (T jobData);

Parameters

jobDataThe new IAnimationJob data to set in the playable.

Description

Sets a new job data 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: AnimationScriptPlayable.Create.