This commit is contained in:
monitor1394
2022-05-22 22:17:38 +08:00
parent 003f4da9de
commit bafe032bb9
391 changed files with 3718 additions and 2774 deletions

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts.Runtime
{
@@ -34,4 +32,4 @@ namespace XCharts.Runtime
s_ListPool.ClearAll();
}
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
@@ -55,4 +54,4 @@ namespace XCharts.Runtime
m_Stack.Clear();
}
}
}
}

View File

@@ -1,4 +1,3 @@
using UnityEngine;
namespace XCharts.Runtime
@@ -7,9 +6,7 @@ namespace XCharts.Runtime
{
private static readonly ObjectPool<SerieData> s_ListPool = new ObjectPool<SerieData>(null, OnClear);
static void OnGet(SerieData serieData)
{
}
static void OnGet(SerieData serieData) { }
static void OnClear(SerieData serieData)
{
@@ -26,4 +23,4 @@ namespace XCharts.Runtime
s_ListPool.Release(toRelease);
}
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Collections.Generic;
using UnityEngine;
@@ -67,9 +66,9 @@ namespace XCharts.Runtime
float iconWidth, float iconHeight, ThemeStyle theme)
{
var label = ChartHelper.AddChartLabel(name, parent, labelStyle, theme.common,
"", color, TextAnchor.MiddleCenter);
"", color, TextAnchor.MiddleCenter);
label.SetActive(labelStyle.show);
return label.gameObject;
}
}
}
}