Raycast Selector
This component is used to cast a ray from camera to interact with 3D UI Elements. Handles the logic part only. Not the input part.
Last updated
This component is used to cast a ray from camera to interact with 3D UI Elements. Handles the logic part only. Not the input part.
Last updated
The script controls the logic of how the input should be handled, so, if you would like to handle input system yourself, call the appropriate methods below.
RaycastCheck (Ray ray)
Recieves ray and returns what was hit.
PressTarget (Transform hit)
SelectTarget (Transform hit)
UnselectTarget (Transform hit)
Dragging (Transform hit, vector3 cursorPosition)
Dragging slider/button.
DragEnded (Transform hit, vector3 cursorPosition)
End of dragging slider/button.