Help with controller input actions..

Hi, I am trying to use the ML2 to hide and unhide a gameobject. I have a script that can hide an object and I want to trigger that script if a raycast is pointed at an object and I press a button (the menu or the button with 3 lines would do)..

I would really appreciate any help : )

I recommend taking a look at the Unity section in our Developer Documentation. There you will find information on how to integrate the Magic Leap SDK into your project. See the input section in the sidebar for details on how to receive input events from the controller.

1 Like