private void CheckAndDestroyFish() { GameObject[] fishes = GameObject.FindGameObjectsWithTag(objectTag); foreach (GameObject fish in fishes) { if (!_destroyed && fish.GetComponent <Fish>().GetInFire()) { fish.tag = "Untagged"; fish.GetComponent <Fish>().Destruction(); StartCoroutine(ShakeGranny()); granyAController.Scared(); granyAController.AnimatePanic(); Debug.Log("destroy"); //GameObject.Destroy(fish); StartCoroutine(Dissolve(fish)); _destroyed = true; fishManager.ReduceFishUI(); _animator.SetBool("Breath", true); } } }