playMaker

Author Topic: How to listen for system event  (Read 328 times)

kavery

  • Full Member
  • ***
  • Posts: 106
    • View Profile
How to listen for system event
« on: May 18, 2018, 11:29:52 AM »
How do you listen for 'system events'? For example when an android build pauses.

"you need to listen to the system event "APPLICATION FOCUS" and or "APPLICATION PAUSE"

Thanks

Kathar

  • Playmaker Newbie
  • *
  • Posts: 48
    • View Profile
Re: How to listen for system event
« Reply #1 on: May 19, 2018, 03:09:12 PM »
So say you want a State to be 'triggered' when a certain event happens like APPLICATION FOCUS. Just right-click on the State you want to be 'activated', click "Add Global Transition > System Events > APPLICATION FOCUS" etc. Whole bunch of useful events in there.