- Home /
Camera and preview in vertical view
I'm using Unity 4.5, instead of the horizontal camera, I would like to have it vertically (like screens on smartphone). So in the transform box of camera I entered 90 for the Z rotation.
The physics go in the right way, but the camera preview remain horizontally. How can I turn it of 90°?
Answer by DocMcShot · Oct 17, 2014 at 07:13 PM
Why don't you just change your resolution at the top of the game view window?
You can set it to any size there.
Thanks! I didn't know it. Do I have to create a screen ratio for every android device where my game will run?
This just let's you see what the current selected size will look like.
If you need to something that helps resize your camera so that the game looks okay when you build your game to work with multiple different device screen sizes, you may want to check out this script.
http://answers.unity3d.com/questions/618058/mobile-device-screen-sizes.html
And Do I need only to change the resolution? Do I've to leave the current settings of the camera? (For example my camera has size=5).