Show / Hide Table of Contents

Class AnimationEventSystem

An Animation Event System for managing animation on a component and returning animation events

Inheritance
System.Object
AnimationEventSystem
Namespace: GameplayAbilitySystem
Assembly: Assembly-CSharp-firstpass.dll
Syntax
public class AnimationEventSystem : MonoBehaviour

Fields

| Improve this Doc View Source

AnimationComplete

Delegate to execute when the player animation is complete

Declaration
public UnityEvent AnimationComplete
Field Value
Type Description
UnityEvent
| Improve this Doc View Source

AnimationStarted

Delegate to execute when the player animation starts

Declaration
public UnityEvent AnimationStarted
Field Value
Type Description
UnityEvent
| Improve this Doc View Source

CustomAnimationEvent

Delegate to execute when custom animation events are triggered on the character

Declaration
public CustomAnimationUnityEvent CustomAnimationEvent
Field Value
Type Description
CustomAnimationUnityEvent

Methods

| Improve this Doc View Source

OnAnimationComplete()

Run when an animation completes

Declaration
public void OnAnimationComplete()
| Improve this Doc View Source

OnAnimationEvent(AnimationEvent)

Run when an animation event occurs

Declaration
public void OnAnimationEvent(AnimationEvent evt)
Parameters
Type Name Description
AnimationEvent evt
| Improve this Doc View Source

OnAnimationStarted()

Run when an animation starts

Declaration
public void OnAnimationStarted()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX