This commit is contained in:
monitor1394
2021-06-18 06:48:11 +08:00
parent f090970cc8
commit 49fd642885
16 changed files with 89 additions and 33 deletions

View File

@@ -180,7 +180,6 @@ namespace XCharts
{
Directory.CreateDirectory(themeAssetPath);
}
var assetPath = string.Format("{0}/{1}", XChartsSettings.THEME_ASSET_FOLDER, themeAssetName);
var themeAssetFilePath = string.Format("{0}/{1}.json", themeAssetPath, themeAssetName);
var json = JsonUtility.ToJson(theme, true);
File.WriteAllText(themeAssetFilePath, json);