IEnumerator Defocus() { grayout.ClickOut -= ClickOut; yield return(StartCoroutine(HideOptions(.25f))); yield return(StartCoroutine(rectUtil.AnimateToStartSize(.25f))); yield return(StartCoroutine(grayout.Hide())); rectUtil.RestoreParent(); focused = false; panel.UpdateClient(); }