Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

Is there a way to toggle the Player setting's 'auto-rotate' (for mobile builds) from script?

$
0
0
The Auto-rotate function built in to Unity isn't calibrated properly, and even when the tablet/device's auto-rotate is locked OFF, unity still rotates the screen. I am getting more familiar with android system settings so eventually I would like my app to check the device's system setting for auto-rotate to determine whether to rotate the screen or not.

Viewing all articles
Browse latest Browse all 1333

Trending Articles



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