How to resize camera view port without changing what is on screen (82423)

I saw that changing the resolution of the window, then what is found on the sides is cut off… how can I avoid this?

You might not have such a fixed image to 1280x800, to resize then for each resolution?

[15733-test1+2013-09-23+14-01-02-294.jpg|15733]

[15734-test1+2013-09-23+14-02-56-612.jpg|15734]

1 Answer

1

Change the level of zoom depending on screen size - OR - move the camera away or closer depending on screen size. Let me know if you need help scripting this.

I tried something like this script: [link text][1] [1]: http://gamedesigntheory.blogspot.ie/2010/09/controlling-aspect-ratio-in-unity.html but not good as it leaves black bars above and below... can you give me some more advice?