playMaker

Author Topic: Set Sleep TimeOut  (Read 4142 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Set Sleep TimeOut
« on: October 23, 2013, 02:27:15 AM »
Hi,

 Following a request, please find an action to set the screen sleep timout, either set to never sleep, to system settings or a to a value in seconds.

Only works on mobile!

bye,

 Jean

Loganou974

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Set Sleep TimeOut
« Reply #1 on: October 23, 2013, 09:37:11 AM »
Thank you a lot !!! You're the best !

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: Set Sleep TimeOut
« Reply #2 on: October 02, 2016, 09:37:53 AM »
Thanks, was searching for this.

I tried it on Android devices setting it to 120 sec, but the screen dims away sooner, at 1 min which is the delay set in the device settings for the display.

Is anybody using this successfully?
I realize it was created 3 years ago. Maybe devices/OS are using some other methods nowadays?

Br,
Szomaza

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Sleep TimeOut
« Reply #3 on: October 20, 2016, 02:21:31 AM »
Hi,

 no it's still the solution Unity is providing.

 if you set it to 0, does that never go to sleep?

 If you have lots of other plugins in your project, try to create a fresh project with nothing but playmaker and this action and see.

Bye,

 Jean