Question by
MrCrumbl3d · Apr 25, 2017 at 04:44 AM ·
screenorientation
Make the screen orientation left and right
Hello i want my screen orientation turn into left and right not only left or right i want them both to be active. thanks if someone answer my question.
Comment
Best Answer
Answer by saud_ahmed020 · Apr 25, 2017 at 06:42 AM
@MrCrumbl3d Call this method at Start
private void SetScreenOrientation()
{
Screen.autorotateToPortrait = false;
Screen.autorotateToLandscapeRight = true;
Screen.autorotateToLandscapeLeft = true;
Screen.autorotateToPortraitUpsideDown = false;
}