playMaker

Author Topic: [SOLVED]Forced Landscape  (Read 3668 times)

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
[SOLVED]Forced Landscape
« on: May 24, 2013, 04:32:06 PM »
Hi just got myself a galaxy note 2 as unity now offer a free indie android license but i can't figure out how to force my game into landscape.

Any advice on where to start with this?
« Last Edit: May 25, 2013, 05:44:16 AM by MrMitch »

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: Forced Landscape
« Reply #1 on: May 25, 2013, 05:40:57 AM »
Solved the problem, found some script in the script reference.

Code: [Select]
function Start () {
        Screen.orientation = ScreenOrientation.LandscapeLeft;
    }

For anyone in the future :) Can someone turn this into an action?
« Last Edit: May 25, 2013, 05:43:19 AM by MrMitch »

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: [SOLVED]Forced Landscape
« Reply #2 on: May 26, 2013, 11:01:55 AM »
I just realized you can do this via the player settings for android ¬.¬ i should really look a little harder next time :P