oddgames / UIToolkit

Single draw call UI solution for Unity with multi resolution support and more.
518 stars 153 forks source link

iphone not respecting rotation #111

Closed PapaWhiskey65 closed 12 years ago

PapaWhiskey65 commented 12 years ago

running on iphone, game only supports landscape, UIToolkit will display portrait in landscape mode

prime31 commented 12 years ago

Unity has a rotation bug that will be fixed in the next update. Currently the workaround is to not run any code until Unity is properly in your desired orientation.

PapaWhiskey65 commented 12 years ago

wonderful...odd that it only happens on iphone and not ipad.

so just sit and spin in some script till unity is initialized?

On May 24, 2012, at 9:45 AM, Mike wrote:

Unity has a rotation bug that will be fixed in the next update. Currently the workaround is to not run any code until Unity is properly in your desired orientation.


Reply to this email directly or view it on GitHub: https://github.com/prime31/UIToolkit/issues/111#issuecomment-5909643

PapaWhiskey65 commented 12 years ago

and it's only uitoolkit that is not respecting the rotation....unity is properly rotated.

prime31 commented 12 years ago

Check the Unity forums. There are a couple threads detailing the issue. Your symptoms are 100% in line with the bug.

Mike

On May 24, 2012, at 8:57 AM, WreckCenter reply@reply.github.com wrote:

and it's only uitoolkit that is not respecting the rotation....unity is properly rotated.


Reply to this email directly or view it on GitHub: https://github.com/prime31/UIToolkit/issues/111#issuecomment-5910095

PapaWhiskey65 commented 12 years ago

been searching the forums (and googling) quite a bit, guess i havent used the right search terms...i've found issues with autorotation and unity but supposedly they fixed em in 3.4...this issue appears to be only with uitoolkit...i'll search some more

Phil

prime31 commented 12 years ago

The thread is right on the front page. UIToolkit doesn't do anything magical. All it does is make a camera. It isn't even possible for it to swap orientations on its own.