IEnumerator Lamp3Destroy()
    {
        StartCoroutine("resetbox3");
        yield return(new WaitForSeconds(0.5f));

        lamp            = GeneralControls.RemoveLamp(lamp, randomcolor);
        temp1           = active1box;
        temp2           = active2box;
        temp3           = active3box;
        active1box      = null;
        active1boxchild = null;
        active1         = false;
        active2box      = null;
        active2boxchild = null;
        active2         = false;
        active3box      = null;
        active3boxchild = null;
        active3         = false;
        oneTime         = 0;
        if (lamp.Length != 0)
        {
            randomcolor      = Random.Range(0, lamp.Length - 1);
            currentcolor     = lamp[randomcolor];
            currentLampColor = GeneralControls.LampColorNum(currentcolor);


            lampanime.SetInteger("lampcolor", currentLampColor);
        }
    }