예제 #1
0
    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();
    }