private void Start() { bowAnimation = GetComponent <BowAnimation>(); handle = GetComponentInChildren <BowHandle>(); interact = GetComponent <VRTK_InteractableObject>(); interact.InteractableObjectGrabbed += new InteractableObjectEventHandler(DoObjectGrab); }
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); }
private void Start() { bowAnimation = GetComponent <BowAnimation>(); handle = GetComponentInChildren <BowHandle>(); }
private void Start() { bowAnimation = GetComponent<BowAnimation>(); handle = GetComponentInChildren<BowHandle>(); interact = GetComponent<VRTK_InteractableObject>(); interact.InteractableObjectGrabbed += new InteractableObjectEventHandler(DoObjectGrab); }