private void Awake() { SetUpSingleton(); difficulty = SettingsPlayerPrefsManager.GetSavedDifficulty(); mapSize = SettingsPlayerPrefsManager.GetSavedMapSize(); }
public static void SaveMapSize(GameValuesController.MapSize mapSize) { PlayerPrefs.SetString(MAP_SIZE_PLAYERPREFS_KEY, mapSize.ToString()); }