iPhone 5 resolution

Hi,

Is there a way to add a specific set of dimensions to the popup menu for screen size in the Game tab?
I’d like to resize the display to the exact size of the iPhone 5 in u3.5.6, not the aspect ratio.

Thanks!
-Chilton

I haven’t seen one yet. In code I’m using

to check which screen size to set things for.

I have to manually adjust the Game Screen in Unity to 1136 px wide, using a Photoshop window in behind it with a 1136x640 image to change the size and position of the Game Screen.

This is a royal pain in the ass. They really should have made it so you could select “iPhone Wide 1136x640” instead aspect ratio.

One other way to adjust the Game Screen to 1136 pixels wide is to create a new scene, add an empty game object to the scene and attach a script to the game object with this in the code:

That way you can see how wide the Game Screen is while adjusting it.

That’s exactly what I’m doing, too. Ugh.

I didn’t think to push the screen size to the console though. Clever :slight_smile: