ドキュメント

Unity Engine

Unity Engine

GetJobData<T>()

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

Definition

public T GetJobData<T>() where T : struct, IAnimationJob

Returns

Type

Description

TReturns 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
ArgumentException
is raised.
Additional Resources: the example in AnimationScriptPlayable.Create.