mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
增加AnimationHiding隐藏动画
This commit is contained in:
@@ -52,6 +52,19 @@ namespace XCharts.Runtime
|
||||
}
|
||||
}
|
||||
|
||||
public void SetValue(float value)
|
||||
{
|
||||
if (m_TargetValue != value)
|
||||
{
|
||||
if (!m_ValueEnable)
|
||||
m_PreviousValue = value;
|
||||
else
|
||||
m_PreviousValue = m_CurrentValue;
|
||||
UpdateStart();
|
||||
m_TargetValue = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetPosition(ref bool needInteract, Vector3 pos)
|
||||
{
|
||||
if (m_TargetPosition != pos)
|
||||
|
||||
Reference in New Issue
Block a user