N
N
NickName73312018-07-21 22:18:10
Android
NickName7331, 2018-07-21 22:18:10

Unity (Android) - How to set the basic screen orientation for each scene?

How to set the basic screen orientation for each scene in Unity?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Gaydak, 2018-07-21
@NickName7331

https://docs.unity3d.com/ScriptReference/Screen-or
...
just write a simple script .. and add it to each scene. If it's different in the scenes.
but overall it's a HORRIBLE APPROACH. do different orientation in different scenes. for the user to turn the screen back and forth is usually not at all a thrill))
but if for everyone at once .. then yes, the project settings, as GavriKos described to you

G
GavriKos, 2018-07-21
@GavriKos

Orientation is set not for the scene, but for the entire project. In PlayerSettings

C
CrazyMiddleRabbit, 2020-11-27
@CrazyMiddleRabbit

Just rotate the camera 90 degrees.5fc13ff0dfdd1260260315.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question