mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
增加BarChart的Animation初始化动画配置支持
This commit is contained in:
@@ -11,14 +11,6 @@ namespace XCharts
|
||||
[DisallowMultipleComponent]
|
||||
public class LineChart : CoordinateChart
|
||||
{
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
foreach (var serie in m_Series.series)
|
||||
{
|
||||
serie.animation.Start();
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
protected override void Reset()
|
||||
@@ -162,7 +154,6 @@ namespace XCharts
|
||||
{
|
||||
np = serie.dataPoints[i];
|
||||
serie.ClearSmoothList(i);
|
||||
serie.animation.InitDataState(i);
|
||||
if (!serie.animation.NeedAnimation(i)) break;
|
||||
bool isFinish = true;
|
||||
switch (serie.lineType)
|
||||
@@ -302,7 +293,6 @@ namespace XCharts
|
||||
{
|
||||
np = serie.dataPoints[i];
|
||||
serie.ClearSmoothList(i);
|
||||
serie.animation.InitDataState(i);
|
||||
if (!serie.animation.NeedAnimation(i)) break;
|
||||
bool isFinish = true;
|
||||
switch (serie.lineType)
|
||||
|
||||
Reference in New Issue
Block a user