IEnumerator DestroyDoor() { yield return(new WaitForSeconds(1)); doorScript.Destroy(); door.SetActive(true); }