# How does unity size graphics?

I'm working on a 2D game. It has tiles. each tile is 50x50 px. I attached script to camera which sets the camera size to screenHeight/2/PixelsPerUnit.

Now in the player, as an example i selected 480x320 size. I expected it to show approx 9x6 tiles. However it shows 6tiles horizontally and 4 tiles vertically.

Similarly for other sizes, it shows lesser than calculated number of tiles.

How does this corelate?

Edit i created the tiles in photoshop with 300 dpi. Not sure if that affects anything though.

• What Pixels Per Unit value have you chosen? – lvictorino Mar 2 '15 at 15:37
• Pixels per unit is set to 100. – SanSolo Mar 2 '15 at 15:40