We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec53686 commit bf10d5aCopy full SHA for bf10d5a
Editor/Settings.cs
@@ -77,6 +77,9 @@ private static void LoadData()
77
}
78
private static void SaveData()
79
{
80
+ var dir = Path.GetDirectoryName(SettingPath);
81
+ if (!Directory.Exists(dir))
82
+ Directory.CreateDirectory(dir);
83
var json = JsonUtility.ToJson(settingData);
84
File.WriteAllText(SettingPath, json);
85
0 commit comments