mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
增加Animation的Addition动画支持
This commit is contained in:
23
Runtime/Component/Animation/AnimationInfoContext.cs
Normal file
23
Runtime/Component/Animation/AnimationInfoContext.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public sealed class AnimationInfoContext
|
||||
{
|
||||
public bool init;
|
||||
public bool start;
|
||||
public bool pause;
|
||||
public bool end;
|
||||
public float startTime;
|
||||
public float currProgress;
|
||||
public float destProgress;
|
||||
public float totalProgress;
|
||||
public float sizeProgress;
|
||||
public int currPointIndex;
|
||||
public int destPointIndex;
|
||||
public Dictionary<int, float> itemCurrProgress = new Dictionary<int, float>();
|
||||
public Dictionary<int, float> itemDestProgress = new Dictionary<int, float>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user