After weeks reading documentation and exploring the tree of gameobjects, I've found some of them that may be useful but I don't know how to use them.
I don't need a to perform trigger rotation but only firing a boolean action. Here's a simplified desired behaviour:
- I have a grabbable pen with an AudioSource component attached
- If I grab the pen with LTouch, pressing LTouch.One (X) is the only action can play the pen's sound
- If I grab the pen with RTouch,pressing RTouch.One (A) is the only action can play the pen's sound
This is not explained in the Unity tutorial of OVR and VRTK and reverse engineering for such a trivial behaviour is hard when "Find references in Scene" button kills Unity
How is the gun's fire action triggered in the Farm example?
How to listen to different buttons to play the action of an object according to which controller is grabbing that object?