Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ChrisEL's avatar
ChrisEL
Explorer
8 years ago

Unity Button ID

Hello

I try to use now the new integrated unity input mapping for the oculus touch controllers https://docs.unity3d.com/Manual/OculusControllers.html

but some of the VR-inputs need the unity button ID and i have no idea how to use them. I test it in the input manager. I use the ID as klicked button (ID 1 = button one) but this dosn't work. Also Input.GetButton(ID) do not work. Can somebody help me?

kind regards

1 Reply

Replies have been turned off for this discussion
  • if you go to unity  asset menu and choose input you will see a list of all the names of the existing button in a program you can insert that name as the id for instance Input.GetButton("Button1") will give you I think button B on touch