Question by
adriaan_Solis · Mar 27, 2018 at 03:34 PM ·
uiraycastscreenworldspacecomputer
Touchscreens like in the game Prey
Hey everyone,
I am working on a First Person game and have an idea for a computer screen like in the game Prey. Where the crosshair is basically the mouse of the computer.
I have a canvas in world space, now I would like to know how do I code it so that for example if the crosshair of the camera is on a button and you left click that it would click the button on the canvas?
If you guys know the game Prey you'll understand exactly what I mean.
Any help or suggestions would be greatly appreciated.
Thanks Guys :)
Comment