修复Unity版本兼容问题 (#154)

This commit is contained in:
monitor1394
2021-06-10 12:54:13 +08:00
parent ae6bd4bdde
commit c9f6e9ef66
3 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,6 @@ namespace XCharts
rect.anchorMin = new Vector2(0.5f, 0.5f);
rect.anchorMax = new Vector2(0.5f, 0.5f);
rect.pivot = new Vector2(0.5f, 0.5f);
GameObjectUtility.EnsureUniqueNameForSibling(chart);
Selection.activeGameObject = chart;
EditorUtility.SetDirty(chart);
}