I don’t know if this is possible as I am new on unity. I am actually creating a app and I have set the default orientation to portrait from player settings. But I want to make the screen orientation to landscape for one scene only. For all other scenes the screen orientation should be portrait.
For this purpose I created the C# script inside start function
Screen.orientation =
ScreenOrientation.LandscapeLeft;
and assigned that script to camera of that particular scene :
This sucessfully changes the scene orientation to landscape but the problem is that as soon as I exit that scene, the default orientation becomes landscape instead of the portrait which I had set in player settings. Can anyone help me in getting this done?
Any help would really be appreciated.