cancel
Showing results for 
Search instead for 
Did you mean: 

Unity Button ID

ChrisEL
Explorer

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 1

shashkes
Protege
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