Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

Can I keep the computer awake using Unity WebGl?

$
0
0
Okay so, I'm building a Unity WebGl app that is targeted at home computers. It needs to be able to keep the computer awake indefinitely. First thing I tried was the fullscreen option (Screen.fullscreen) but I wasn't super excited by this since Safari isn't supported, which is a big chunk of users. However, it looks like this actually doesn't work anyway. I'm using a 2015 MacBook pro that's plugged into power, and it still went to a screensaver when I was full screened. I saw Screen.sleepTimeout, which I haven't tried yet, but the documentation says that that's only for mobile devices anyway. Wondering if anybody has done this!

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>