playMaker

Author Topic: When does a state change occur?  (Read 1227 times)

GarthSmith

  • Playmaker Newbie
  • *
  • Posts: 31
  • Games. Math. Code.
    • Garth Smith's Website
When does a state change occur?
« on: October 09, 2014, 05:53:26 PM »
Hello!

When I send an Fsm a transition event, when exactly does OnExit() get called? It's not immediately before the next line of code is run. Does it wait for LateUpdate()? Some random time in Update()? Do I have to worry about Update() getting run twice or several DoFixedUpdates() passing by?