// Načte nastavení, případně vytvoří nové public SaveableSettings LoadSettings() { string fullPath = Path.Combine(Application.persistentDataPath, SETTINGS_FILE); if (LoadManager.FileExists(fullPath)) { return(LoadManager.ReadFile <SaveableSettings>(fullPath)); } else { SaveableSettings settings = new SaveableSettings(); LoadManager.SaveFile <SaveableSettings>(fullPath, settings); return(settings); } }