兼容unity5.6

This commit is contained in:
monitor1394
2021-04-13 09:57:33 +08:00
parent 620d7b4698
commit 32e9ce864b
3 changed files with 10 additions and 10 deletions

View File

@@ -147,9 +147,9 @@ namespace XCharts
{
if (component.anyDirty)
{
if (component.componentDirty)
if (component.componentDirty && component.refreshComponent != null)
{
component.refreshComponent?.Invoke();
component.refreshComponent.Invoke();
}
if (component.vertsDirty)
{