ScriptReference/Camera.WorldToScreenPoint #344
Replies: 1 comment
-
|
Comment by Here is an example using WorldToScreenPoint for point-and-click interactable objects. Using this instead of raycasts has some nice benefits like being able to adjust the "interactable" distance. In this implementation it works really well with the timeline--in editor mode you can keep track of what objects are clickable in different stages or branches of a story. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/Camera.WorldToScreenPoint
https://docs.unity3d.com/ScriptReference/Camera.WorldToScreenPoint.html
Beta Was this translation helpful? Give feedback.
All reactions