private IEnumerator SaveAndQuitCoroutine()
    {
        openerOfPopUpsMadeInEditor.SetLoadingPopUpActiveToTrueAndDeactivateTips();
        yield return(null);

        deck.PrepareDeckForPlayerAndGetReadyForSaving();
        CardsLevel.PrepareForSaving();
        sceneOpener.OpenMapScene();
    }
Beispiel #2
0
 private void KeepDataReadyForSaving()
 {
     ClassInfo.PrepareClassesBonusesForSaving();
     CardsLevel.PrepareForSaving();
     mapsCache.PrepareAllMapsForSaving();
 }