- Home /
Question by
moghes · Sep 11, 2013 at 12:12 PM ·
resolutionmacwindowedfull screenaspectratio
Aspect ratio is incorrect after forcing windowed mode with CMD+F and then back to fullscreen
Hello everyone,
I have a game which starts as full screen by default. this is a leap motion game, and the windows version is already online, means the review team found this problem on the mac version only.
Check the attachment, I have described my problem there.
Thank for any help
pic.jpg
(231.9 kB)
Comment
Answer by NorthernVisionStudio · Jan 27, 2015 at 08:42 PM
I had the same problem. For some reason Screen.width
reports the same res as before it went full screen.
For my app, I used this value and made adjustments accordingly (UI, etc):
Screen.currentResolution
It reports the correct numbers for full screen. So maybe after getting those numbers, you need to manually resize your render.