Hi,
I am creating a 2d game and the game screen is bigger than the main camera.
I attached BoxCollider2D to the camera and handle OnDrag in the script attached to the camera.
This works great at moving the screen by dragging on it but whenever i click on the screen it always go to the BoxCollider and the object underneath never gets event.
Is there another way to move the camera by dragging mouse?
Thanks