Unity editor screen to world space code example Example: unity how to convert mouse screen position to world position Camera.main.ScreenToWorldPoint(Input.mousePosition)