コード例 #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Button"))
     {
         device.TriggerHapticPulse(2000);
         buttonController.ButtonPress(other.name);
         PressButton(other.transform);
     }
 }