Summary
Insert an Animation Job that will affect every mask and animation layer.
This will create an AnimationScriptPlayable and insert it into the PlayableGraph.
Syntax
public AnimationScriptPlayable InsertAnimationJob<T>(T job) where T : struct, IAnimationJob
Type Parameters
Name |
Description |
T |
The type of the job. Must be a struct implementing the IAnimationJob interface. |
Parameters
Name |
Type |
Description |
job |
T |
The animation job to insert into the PlayableGraph as a Playable. |
Return Value
Type |
Description |
AnimationScriptPlayable |
The Playable created from the animation job. Can be used to delete the job later on. |