Answers for "how to set a screen rotation in unity"

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

C# Answers by Framework

Browse Popular Code Answers by Language