private void OnTriggerEnter(Collider other) { if (other.tag == "Hope") { //Debug.Log("Hope is in Range"); _isHopeInRange = true; HopeAI.Instance.TurnOnAButtonUI(); } if (other.tag == "Candy") { if (!_pickedUpCandy) { candyAmount++; //Debug.Log("Candy Amount now = " + candyAmount); Candy candy = other.GetComponent <Candy>(); if (candy != null) { candy.DestroyOnPickUp(); } _pickedUpCandy = true; _pointer.SetActive(true); StartCoroutine(ArrowPowerDownRoutine()); } } }