Exemple #1
0
 void IGlobalTriggerTouchDownHandler.OnGlobalTriggerTouchDown(VREventData eventData)
 {
     if (button == ButtonType.TriggerTouch)
     {
         Toggle();
     }
 }
Exemple #2
0
 void IGlobalGripPressDownHandler.OnGlobalGripPressDown(VREventData eventData)
 {
     if (button == ButtonType.Grip)
     {
         Toggle();
     }
 }
Exemple #3
0
 void IGlobalTouchpadPressDownHandler.OnGlobalTouchpadPressDown(VREventData eventData)
 {
     if (button == ButtonType.TouchpadPress)
     {
         Toggle();
     }
 }
Exemple #4
0
 void IGlobalApplicationMenuPressDownHandler.OnGlobalApplicationMenuPressDown(VREventData eventData)
 {
     if (button == ButtonType.AppMenu)
     {
         Toggle();
     }
 }