Answer the question
In order to leave comments, you need to log in
How to get click coordinates in unity?
I have a player, and he should move in the direction of the place where the mouse was clicked. But the mouse click is not in the same coordinates as the player, because mousePosition returns pixel coordinates, not transform.position. How can I count everything in the same coordinates?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question