VR assets to Cardboard (Magnet instead of click)

Hi, so I downloaded the VR assets of Unity, I have been trying to convert them to the cardboard, so far I have replaced all the components and scripts in the camera but a “click” is still necessary to interact with things, how can I substitute that click to pulling the magnet in the cardboard?, know it is a really open question, but I can’t find any information on internet and the projects are so big i don’t even know where to start. thank you

I found this. Not my script though so make sure to give credit to that person: https://github.com/CaseyB/UnityCardboardTrigger