Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ScreenOrientation

enumeration

Description

Describes screen orientation.

Currently this is only relevant on mobile devices.

Additional resources: Screen.orientation.

Properties

PortraitPortrait orientation.
PortraitUpsideDownPortrait orientation, upside down.
LandscapeLeftLandscape orientation, counter-clockwise from the portrait orientation.
LandscapeRightLandscape orientation, clockwise from the portrait orientation.
AutoRotationAutorotates the screen as necessary toward any of the enabled orientations.