Hello, I am running into a new problem.
I have a game that can be played in both portrait and landscape modus. This is handled by the game. So on iPad this all works perfect. When I hit the fullscreen button, the game is rotated to landscape modus. When I hit the other button, the the game will rotate to portrait modus.
On Surface RT, all these options doesn’t affect the orientation.
Setting screen.orientation is getting ignored at all.
Any ideas how to manually set the orientation on SRT?
Hi,
I think Screen.orientation was completely broken for Windows Store Apps in 4.2.x, but it was fixed in 4.3.
Basically that means Screen.orientation is useless in 4.2.x, the only way to affect orientation in 4.2, is through Package.appxmanifest.
Cheers
Is this at all related to the problem I am encountering here: http://forum.unity3d.com/threads/203269-Screen-Orientation-and-strange-rendering-behavior
No, that’s another problem.
Just do a call back to the VS project as a work around.
Ok, thnx, so guess have to wait for 4.3 then!
How is that working?
I believe you use this:
I’d just try in with a timer in VS first to see if it will actually flip the unity viewport. The alternative of course is just to write a script that rotates the camera and any UI.