private IEnumerator ContinueCoroutine() { while (!adManager.isRewardAdReady()) { yield return(null); } adManager.DisplayUnityAds(); yield return(null); while (adManager.isRewardAdShowing()) { yield return(null); } Continue(); }