public static void Store(string key, SettingsData settingsData) { var jsonString = JsonUtility.ToJson(settingsData); EditorPrefs.SetString(key, jsonString); }
public static void Save() { Store(EditorPrefsKey, Data); LoadedData = Data.Clone(); }