public void StartEncounter(User user, ILoadingScreen loadingScreen, WaitableTask <IMenuEncountersInfo> encounters, int recordNumber)
        {
            loadingScreen.Show();
            ImageHolder.BeginHoldingData();
            var encounter        = GetEncounter(user, encounters, recordNumber);
            var loadingSceneInfo = new LoadingReaderSceneInfo(user, loadingScreen, encounter);

            SceneStarter.StartScene(loadingSceneInfo);
        }
Exemplo n.º 2
0
        private IPromise ShowLoadingScreen()
        {
            if (loadingScreen == null)
            {
                return(Promise.Resolved());
            }

            loadingScreen.SetLoadProgress(0);
            return(loadingScreen.Show());
        }