修复Unity版本兼容问题

This commit is contained in:
monitor1394
2021-02-21 22:15:07 +08:00
parent 08f5a136c0
commit 8e5b6f159b
7 changed files with 18 additions and 15 deletions

View File

@@ -165,13 +165,13 @@ namespace XCharts
else if (IsAssetsExist(XChartsMgr.GetThemeAssetPath(m_ChartName)))
{
ShowNotification(new GUIContent("ERROR:The asset is exist! \npath="
+ XChartsMgr.GetThemeAssetPath(m_ChartName)), 5);
+ XChartsMgr.GetThemeAssetPath(m_ChartName)));
}
else
{
XChartsMgr.ExportTheme(target.theme, m_ChartName);
ShowNotification(new GUIContent("SUCCESS:The theme is exported. \npath="
+ XChartsMgr.GetThemeAssetPath(m_ChartName)), 5);
+ XChartsMgr.GetThemeAssetPath(m_ChartName)));
}
}
}