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

@@ -167,7 +167,7 @@ namespace XCharts.Editor
{
sb.Length = 0;
sb.AppendFormat("v{0}", XChartsMgr.fullVersion);
//if(m_EnableTextMeshPro.boolValue)
if(m_EnableTextMeshPro.boolValue)
sb.Append("-tmp");
EditorGUILayout.HelpBox(sb.ToString(), MessageType.None);
}
@@ -265,7 +265,7 @@ namespace XCharts.Editor
}
if (GUILayout.Button("Reinit Component"))
{
m_Chart.ReinitAllChartComponent();
m_Chart.RemoveAndReinitChartObject();
}
if (m_CheckWarning)
{