Example #1
0
 private void Start()
 {
     bowAnimation = GetComponent <BowAnimation>();
     handle       = GetComponentInChildren <BowHandle>();
     interact     = GetComponent <VRTK_InteractableObject>();
     interact.InteractableObjectGrabbed += new InteractableObjectEventHandler(DoObjectGrab);
 }
Example #2
0
 private void Start()
 {
     hapticOnDrawback.LoadFromAsset(drawHaptic);
     hapticOnRelease.LoadFromAsset(releaseHaptic);
     hapticwhilePulled.LoadFromAsset(pulledHapticName);
     pulledHandle = hapticwhilePulled.CreateHandle();
     bowAnimation = GetComponent <BowAnimation>();
     handle       = GetComponentInChildren <BowHandle>();
     interact     = GetComponent <VRTK_InteractableObject>();
     interact.InteractableObjectGrabbed += new InteractableObjectEventHandler(DoObjectGrab);
 }
Example #3
0
 private void Start()
 {
     bowAnimation = GetComponent <BowAnimation>();
     handle       = GetComponentInChildren <BowHandle>();
 }
Example #4
0
 private void Start()
 {
     bowAnimation = GetComponent<BowAnimation>();
     handle = GetComponentInChildren<BowHandle>();
     interact = GetComponent<VRTK_InteractableObject>();
     interact.InteractableObjectGrabbed += new InteractableObjectEventHandler(DoObjectGrab);
 }