IEnumerator DestroyOrb() { transform.GetChild(0).gameObject.SetActive(false); GetComponent<ParticleSystem>().Stop(); yield return new WaitForSeconds(GetComponent<AudioSource> ().clip.length); Destroy(this.gameObject); }