In Unity 4.6 I made a button to switch between LandscapeLeft and LandscapeRight for a multiplayer single tablet game to turn the sceen.
if (Screen.orientation == ScreenOrientation.LandscapeLeft)
{
Screen.orientation = ScreenOrientation.LandscapeRight;
}
else
{
Screen.orientation = ScreenOrientation.LandscapeLeft;
}
It worked well in 4.6, but now in Unity 5 I get only “Landscape” as result if I check Screen.orientation.
Any idea?
thanks in advance
Frank