playMaker

Author Topic: How to raycast for UI  (Read 1053 times)

Digital Adam

  • Full Member
  • ***
  • Posts: 208
How to raycast for UI
« on: January 26, 2022, 10:38:29 AM »
Hey, any ideas on how to use raycast or a cube ray with 'Is Trigger' to interact with Canvas UI Buttons, etc.? When my camera looks at a UI element, I'm trying to have the button behave like when using a mouse (so highlighted, pressed, etc.) Any thoughts would be appreciated!