기술 자료

Unity Engine

Unity Engine

events

Animation Events for this animation clip.
읽는 시간 1분최근 업데이트: 한 달 전

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.