Robuta

https://docs.unity3d.com/2020.2/Documentation/ScriptReference/Screen-autorotateToPortrait.html Unity - Scripting API: Screen.autorotateToPortrait scripting apiunityscreen