コード例 #1
0
 // Use this for initialization
 void Start()
 {
     Hand = this.gameObject.GetComponentInParent <VRInputCtrl>();
 }
コード例 #2
0
    private void VibrateController(GameObject grabber)
    {
        VRInputCtrl device = grabber.GetComponentInParent <VRInputCtrl>();

        device.TriggerHapticFeedback(1000, 0.1f);
    }