I'm using a tk2D camera, and I'm trying to bound the camera view within the game's map area. The game doesn't follow pixel perfect snapping rules and the tricky part is that the camera is allowed to zoom in and out.
I found this link online that recommends using a camera's orthographic size property. However, I noticed that a tk2D camera doesn't change its orthographic size property with the zoom level.
the link->
http://answers.unity3d.com/questions/501893/calculating-2d-camera-bounds.htmlI'm wondering if the tk2D camera has some functions that lets me query the state of the camera's field of view since orthographic size seems unavailable.
On a side note, I noticed that orthographic size is set to 480. My game uses tiles that are 16x16 pixels. Is 480 orthographic size too big? Changing it doesn't seem to have any visible effect on the game...