Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on October 23, 2013, 02:27:15 AM

Title: Set Sleep TimeOut
Post by: jeanfabre 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
Title: Re: Set Sleep TimeOut
Post by: Loganou974 on October 23, 2013, 09:37:11 AM
Thank you a lot !!! You're the best !
Title: Re: Set Sleep TimeOut
Post by: szomaza 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
Title: Re: Set Sleep TimeOut
Post by: jeanfabre 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