Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: MrMitch on May 24, 2013, 04:32:06 PM

Title: [SOLVED]Forced Landscape
Post by: MrMitch 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?
Title: Re: Forced Landscape
Post by: MrMitch 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?
Title: Re: [SOLVED]Forced Landscape
Post by: MrMitch 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