Answers for "unity change screen orientation in script"

C#
0

how to set a screen rotation in unity

public class Example : MonoBehaviour
{
    // Start in landscape mode
    void Start()
    {
        Screen.orientation = ScreenOrientation.LandscapeLeft;
    }
}
Posted by: Guest on December-01-2020

Code answers related to "unity change screen orientation in script"

C# Answers by Framework

Browse Popular Code Answers by Language