void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Button")) { device.TriggerHapticPulse(2000); buttonController.ButtonPress(other.name); PressButton(other.transform); } }
void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Button")) { device.TriggerHapticPulse(2000); buttonController.ButtonPress(other.name); PressButton(other.transform); } }