I have a game that's designed in landscape-mode, and the Unity Editor's player settings have the Default Orientation set to Landscape Left. Apple rejected the app, stating that it had to be playable in at least both landscape modes.
So is there a way to load the app in Landscape Left mode if iPhoneInput.orientation == iPhoneOrientation.LandscapeLeft and load in Landscape Right mode if iPhoneInput.orientation == iPhoneOrientation.LandscapeRight?
It would be even better if the game could dynamically switch, but I think simply determining the orientation upon loading should be enough.
asked Apr 05 '10 at 10:47 PM
Use iPhoneSettings.screenOrientation to set the Unity player and iPhoneInput.orientation to read from the user's hardware.
answered Apr 05 '10 at 11:41 PM