Home »Editing Basics»Sending Animation Events to an FSM
Index

Sending Animation Events to an FSM

You can use animation events to trigger transitions in a Playmaker FSM on the same Game Object as the animation:

 

  1. Select the GameObject.
  2. Open the Animation Window:  Main Menu > Window > Animation.
  3. Add or select an animation on the GameObject.
  4. Add an Animation Event to the timeline.
  5. Select the SendEvent(string) function.
  6. Enter the event to send.

When the animation plays it will send an event to the Playmaker FSM.