void ExtingushingFinished(GameObject extinguisher) { extinguishingInProcess = false; firemanInventory.RemoveItem(extinguisher); haveExtinguisher = false; Destroy(extinguisherClone); GameObject fire = GameObject.FindGameObjectWithTag("Fire"); fire.transform.parent.GetComponent <Fire>().isBurn = false; alarms.DetectFire(); }