This sample demonstrates a crucial scenario many games will want to enable: locking the screen to landscape or portrait mode. Also shown and explained is the more advanced scenario of responding to orientation changes from landscape to portrait or vice-versa during gameplay, a...
This sample demonstrates a crucial scenario many games will want to enable: locking the screen to landscape or portrait mode. Also shown and explained is the more advanced scenario of responding to orientation changes from landscape to portrait or vice-versa during gameplay, and changing the game’s orientation to match.