ScreenOrientation
Describes screen orientation.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum ScreenOrientation
Remarks
Currently this is only relevant on mobile devices.
Additional Resources: Screen.orientation.
Fields
Value | Description |
|---|---|
| AutoRotation | Autorotates the screen as necessary toward any of the enabled orientations. |
| LandscapeLeft | Landscape orientation, counter-clockwise from the portrait orientation. |
| LandscapeRight | Landscape orientation, clockwise from the portrait orientation. |
| Portrait | Portrait orientation. |
| PortraitUpsideDown | Portrait orientation, upside down. |