ScreenToWorldPoint
Method
ScreenToWorldPoint has 2 overloads.
ScreenToWorldPoint(Vector3)
Transforms a point from screen space into world space, where world space is defined as the coordinate system at the very top of your game's hierarchy. Unity docs
Parameters
Parameter | Description |
---|---|
Vector3 pos |
ScreenToWorldPoint(Vector3, MonoOrStereoscopicEye)
Transforms a point from screen space into world space, where world space is defined as the coordinate system at the very top of your game's hierarchy. Unity docs
Parameters
Parameter | Description |
---|---|
Vector3 pos | |
MonoOrStereoscopicEye eye |