private IEnumerator SaveAndQuitCoroutine() { openerOfPopUpsMadeInEditor.SetLoadingPopUpActiveToTrueAndDeactivateTips(); yield return(null); deck.PrepareDeckForPlayerAndGetReadyForSaving(); CardsLevel.PrepareForSaving(); sceneOpener.OpenMapScene(); }
private void KeepDataReadyForSaving() { ClassInfo.PrepareClassesBonusesForSaving(); CardsLevel.PrepareForSaving(); mapsCache.PrepareAllMapsForSaving(); }