Documentation

Unity Engine

Unity Engine

orientation

This has the same functionality as Screen.orientation and also mimics platform-specific behavior in the Unity Editor.
Read time 1 minuteLast updated a month ago

Definition

public static ScreenOrientation orientation { get; set; }