Hello, I need to make some changes in my game in order to transform it from a desktop 3d game to a VR one. There is a narration at the beggining of the game and the narrator stops and asks the player to push “space” in order to continue. This is a public field of ‘Keycode’ type in a monobehavior script that is set manualy to ‘Space’ button, but this has to be changed to ‘X’ button of oculus quest 2 touch controller. I can not find a way to do it.
I am using:
Unity 2021.3.18f1,
Oculus XR plugin
Problem solved… Just used OVRInput.Button