2D camera setting

I need a 2d board game and set the camera to orthographic:X-horizontal,Y-vertical
Then i create 6*6=36 cubes with scale of 1 and position from 0,0 to 5,5.

Now i want my camera to view exactly all the 36 cubes(the lower left cube at position 0,0 and upper right cube at 5,5), how do i set that?

a variable in the editor for range of view on the character once you’ve made it orthographic. adjust those as well as the distance of the 6x6 grid and you’ll get it.