Skip to content

Counter

PlayMaker → Addons → Getting Started

Shows how to set a count variable.

Counter

Notes

This example uses button events to add/subtract from an integer count variable.

But you can use any event:

  • A collision event.
  • A UI drop event.
  • An event sent by another FSM.
  • ...

Start to think of the events that trigger state changes in your behaviours.