private void ButtonStateLabel(VRButton button) { var state = "Up"; if (VRInput.GetButton(button)) { state = "Down"; } else if (VRInput.GetTouch(button)) { state = "Touching"; } else if (VRInput.GetHovering(button) > Mathf.Epsilon) { state = "Hovering"; } UnityGUI.Label(button.ToString() + ": " + state); }