منبع:gameover.blog.ir
برای اینکار باید Screen.orientation رو با مقادیر کلاس ScreenOrientation تنظیم کنیم.
مقادیر:
Variables Portrait Portrait orientation. PortraitUpsideDown Portrait orientation, upside down. LandscapeLeft Landscape orientation, counter-clockwise from the portrait orientation. LandscapeRight Landscape orientation, clockwise from the portrait orientation. AutoRotation Auto-rotates the screen as necessary toward any of the enabled orientations.
مثال :
// Start in landscape mode function Start () { Screen.orientation = ScreenOrientation.LandscapeLeft; }
منبع :help یونیتی