evt | AnimationEvent to add. |
Adds an animation event to the clip.
Note that events added with AddEvent persist until play mode
is exited or the is player quit. If you want to add an event to a clip persistently,
use AnimationUtility.SetAnimationEvents from the Unity editor.
Additional resources: AnimationEvent, AnimationUtility classes.