Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimationUtility.SetAnimationEvents

Declaration

public static void SetAnimationEvents(AnimationClip clip, AnimationEvent[] events);

Description

Replaces all animation events in the animation clip.