Unity Code Snippets

 



// Converts mouse position to world point             

Vector3 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition); 

Comments