增加AnimationReset()重置初始化动画接口

This commit is contained in:
monitor1394
2019-09-26 19:10:56 +08:00
parent 2c0b86f897
commit 82cc23548d
4 changed files with 28 additions and 1 deletions

View File

@@ -238,7 +238,6 @@ namespace XCharts
{
float duration = serie.animation.duration > 0 ? (float)serie.animation.duration / 1000 : 1;
float speed = totalDetailProgress / duration;
Debug.LogError("speed:"+speed);
float symbolSpeed = serie.symbol.size / duration;
serie.animation.CheckProgress(Time.deltaTime * speed);
serie.animation.CheckSymbol(Time.deltaTime * symbolSpeed, serie.symbol.size);