Exemplo n.º 1
0
        //-------------------------------------------------
        public void ArrowReleased()
        {
            nocked = false;
            hand.HoverUnlock(GetComponent <Interactable>());
            hand.otherHand.HoverUnlock(arrowHand.GetComponent <Interactable>());

            if (releaseSound != null)
            {
                releaseSound.Play();
            }

            this.StartCoroutine(this.ResetDrawAnim());
        }
Exemplo n.º 2
0
        //-------------------------------------------------
        public void ArrowReleased()
        {
            nocked = false;
            hand.HoverUnlock(GetComponent <Interactable>());
            hand.otherHand.HoverUnlock(arrowHand.GetComponent <Interactable>());

            if (releaseSound != null)
            {
                releaseSound.Play();
            }

            TestControllerArchery.instance.onArrowShoot();

            this.StartCoroutine(this.ResetDrawAnim());
        }