This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-30 15:07:24 +08:00
parent 54356bc5e8
commit 2eeb4a98de

View File

@ -36,8 +36,8 @@ namespace GameLogic
m_tmp_addNum.color = color;
// 动画缩放到1透明到1
float duration = 0.35f;
m_tmp_addNum.transform.DOScale(Vector3.one, duration).SetEase(Ease.OutBack);
float duration = 1f;
m_tmp_addNum.transform.DOScale(Vector3.one * 2, duration).SetEase(Ease.OutBack);
DOTween.To(
() => m_tmp_addNum.color.a,
a =>