SetJobData<T>(T)
Sets a new job data in the playable.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public void SetJobData<T>(T jobData) where T : struct, IAnimationJob
Parameters
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 is raised.
ArgumentExceptionAdditional Resources: AnimationScriptPlayable.Create.