기술 자료

Unity Engine

Unity Engine

ScreenOrientation

Describes screen orientation.
읽는 시간 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.