mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 13:30:10 +00:00
fix add main component error
This commit is contained in:
@@ -71,6 +71,9 @@ namespace XCharts.Runtime
|
||||
AddComponent(component);
|
||||
m_Components.Sort();
|
||||
CreateComponentHandler(component);
|
||||
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
|
||||
UnityEditor.EditorUtility.SetDirty(this);
|
||||
#endif
|
||||
return component;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user