events
Animation Events for this animation clip.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public AnimationEvent[] events { get; set; }
Remarks
Modified events will only persist until play mode is exited or the player is quit. If you want to add an event to a clip persistently, use AnimationUtility.SetAnimationEvents from the Unity editor.
Additional Resources: AnimationUtility classes.