private IEnumerator Coro_ExecuteLoading(LoadingData load) { yield return(Coro_Progress(load)); if (string.IsNullOrEmpty(load.nextScreen)) { ScreenDirector.CloseScreen(this, false); } else { if (load.forceClose) { ScreenDirector.CloseScreen(this, false); } else { ScreenDirector.LoadScreen(load.nextScreen, load, load.isNextScreenCached); } } coroutine = null; }
static public void Open(LoadingData loadingData) { ScreenDirector.LoadScreen("ScreenLoading", loadingData, loadingData.isLoadingScreenCached); }