Aspect Ratio

Hello,
I haven’t seen this in the forums but again I may have missed it, but aspect ratio, I ran my game, which is a 2d platformer and the character looks way off when I do a build for my local machine and the simulator, with regards to aspect ratio would that be an automatic feature in 4.3 or do we have to code the values for the camera? If we have to code the values for the Camera, could some explain how that would be done.

Thanks

Aspect ration is Screen.width / Screen.height, but I think it’s calculated automatically.

Ok, i thought that it was automatically but with my 2d game it messes up horribly. How could I check the aspect ratio?

Camera.main.aspect might help :slight_smile: