Search Unity

Changing Screen Orientation during runtime

Discussion in 'Android' started by beezir, Sep 27, 2010.

  1. beezir

    beezir

    Joined:
    Apr 3, 2009
    Posts:
    133
    Is it possible to change the orientation of the screen during runtime (or allow auto-rotation)? Or is it only possible to set this in the build options?
     
  2. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Hi,
    you can use iPhoneSettings.screenOrientation (yes, it should work on Android too :) )