mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 21:00:11 +00:00
增加PieChart的Animation初始化动画配置支持
This commit is contained in:
@@ -185,5 +185,13 @@ namespace XCharts
|
||||
if (!enable || m_IsEnd) return dest;
|
||||
return m_CurrSymbolProgress;
|
||||
}
|
||||
|
||||
public float GetCurrDetail(){
|
||||
return m_CurrDetailProgress;
|
||||
}
|
||||
|
||||
public float GetCurrData(){
|
||||
return m_CurrDataProgress;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,6 +55,10 @@ namespace XCharts
|
||||
public RectTransform labelRect { get; private set; }
|
||||
public Image labelImage { get; private set; }
|
||||
/// <summary>
|
||||
/// 是否可以显示Label
|
||||
/// </summary>
|
||||
public bool canShowLabel { get; set; }
|
||||
/// <summary>
|
||||
/// the maxinum value.
|
||||
/// 最大值。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user