Answer the question
In order to leave comments, you need to log in
How to correctly change the orientation of the scene?
Hello, I am writing a game for android, the whole game is in portrait orientation, but 1 scene should be in horizontal.
Scene opening function
public void Open()
{
Screen.orientation = ScreenOrientation.LandscapeLeft;
SceneManager.LoadScene(SceneId);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question