Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimationScriptPlayable.SetJobData

Declaration

public void SetJobData(T jobData);

Parameters

jobData The 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.

Additional resources: AnimationScriptPlayable.Create.