Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: superp on June 28, 2014, 04:51:31 PM
-
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
-
There was an issue with raycasts for 2D box colliders in NGUI 3.6.5 and earlier that was resolved in 3.6.6. Can you try it with the update?