유니티 디바이스 방향 설정 및 디스플레이 시간 설정하기

|
 
 위와 같이 디바이스의 화면 설정및 디스플레이 시간을 설정할수 있습니다.
ScreenOrientation 값은 Portrait(세로) 모드 이외에도
PortraitUpsideDown 세로모드인데 반대방향
LadscapeLeft 가로모드 왼쪽 기준
LadscapeRight 가로모드 오른쪽 기준으로
AujtoRotation 자동 회전 모드
등이 있습니다.







ScreenOrientation
Description

Describes screen orientation.

Currently this is only relevant on mobile devices.

See Also: Screen.orientation.
Variables
PortraitPortrait orientation.
PortraitUpsideDownPortrait orientation, upside down.
LandscapeLeftLandscape orientation, counter-clockwise from the portrait orientation.
LandscapeRightLandscape orientation, clockwise from the portrait orientation.
AutoRotationAuto-rotates the screen as necessary toward any of the enabled orientations.


Trackback 0 And Comment 0