IEnumerator FadeOutAnimate() { yield return(StartCoroutine(MyCoroutine.WaitForRealForSeconds(0f))); imgLoading.transform.parent.gameObject.SetActive(false); }