3.0 - optimize code

This commit is contained in:
monitor1394
2022-03-04 22:17:32 +08:00
parent 1ee0df09eb
commit 5745fea9a1
59 changed files with 482 additions and 435 deletions

View File

@@ -145,7 +145,7 @@ namespace XCharts.Runtime
/// <summary>
/// 移除并重新初始化所有组件。
/// </summary>
public void ReinitAllChartComponent()
public void RemoveAndReinitChartObject()
{
ChartHelper.DestroyAllChildren(transform);
SetAllComponentDirty();