Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetAnimationEvents(AnimationClip, AnimationEvent[])

Replaces all animation events in the animation clip.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetAnimationEvents(AnimationClip clip, AnimationEvent[] events)

Parameters