Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get mouse position

Vector3 worldPosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);
 
PREVIOUS NEXT
Tagged: #unity #mouse #position
ADD COMMENT
Topic
Name
5+7 =