修复Theme主题切换无法保持到场景上的问题 (#166)

This commit is contained in:
monitor1394
2021-08-26 20:42:11 +08:00
parent 9d53cf1e4e
commit adf10d0539
4 changed files with 8 additions and 0 deletions

View File

@@ -643,6 +643,9 @@ namespace XCharts
{
m_Theme.CopyTheme(theme);
SetAllComponentDirty();
#if UNITY_EDITOR
UnityEditor.EditorUtility.SetDirty(this);
#endif
}
/// <summary>