private void ReleaseGrabbing() { Debug.Log("RELEASING!!!"); gameObject.SendMessage("OnRelease", GrabbingHandRef.GetComponent <IHandGesture>().GetVelocity(), SendMessageOptions.DontRequireReceiver); transform.parent = null; grabbed = false; if (animalComponentRef != null) { // animalComponentRef.ExitBusy(); animalComponentRef.ExitBusyWithStateChange(new WanderAround(animalComponentRef.GetComponent <NavMeshAgent>(), animalComponentRef.GetSpeed(), animalComponentRef)); } }