Esempio n. 1
0
 protected virtual void AttemptHaptics()
 {
     if (usingObject != null)
     {
         VRTK_InteractHaptics doHaptics = usingObject.GetComponentInParent <VRTK_InteractHaptics>();
         if (doHaptics != null)
         {
             doHaptics.HapticsOnUse(controllerReference);
         }
     }
 }
Esempio n. 2
0
 // Token: 0x06001626 RID: 5670 RVA: 0x00078874 File Offset: 0x00076A74
 protected virtual void AttemptHaptics()
 {
     if (this.usingObject != null)
     {
         VRTK_InteractHaptics componentInParent = this.usingObject.GetComponentInParent <VRTK_InteractHaptics>();
         if (componentInParent != null)
         {
             componentInParent.HapticsOnUse(this.controllerReference);
         }
     }
 }