Hi. I have researched a lot and saw similar posts but I am not able to fix my problem. Any kind of help would really be appreciated. So I am developing a 2D game. Have touch ,Everything working perfectly fine. However I have decided to change camera to perspective for game. which is giving a perfect look to game. currently camera position is 0,-6.27,-6.32 and rotation 320,0,0.
My only problem is that my touch is not working now. I understand its due to z position problem for perspective camera. But tried everything but i am just not able to fix this. please help…
OK. Thanks all for trying to help. BUt the only solution to this problem was to change colliders of gamobjects to 3d. and use physics.raycasthit instead of Camera.main.ScreenToWorldPoint.