ドキュメント

Unity Engine

Unity Engine

ScreenOrientation

Describes screen orientation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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

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