ドキュメント

Unity Engine

Unity Engine

SetJobData<T>(T)

Sets a new job data in the playable.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

jobData

T
The new IAnimationJob 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.