I built my 2d game to xcode and ran it on the ios simulator for 3.5 inch (iphone 4s). The camera is cut off. How do I make it so that the camera would not cut off in smaller resolutions? It is ok if the contents seem squished or stretched.
Use Camera.aspect, for instance if we wanted a 4:3 ratio use
Camera.main.aspect=4f/3f;