Improve flash

This commit is contained in:
Rendo 2025-06-26 21:18:59 +05:00
commit 0fc71532e2
5 changed files with 8 additions and 5 deletions

View file

@ -26,7 +26,7 @@ public partial class FlashComponent : CanvasGroup
_tween = CreateTween();
Action<float> action = SetAmount;
_tween.TweenMethod(Callable.From(action),1.0f,0.0f,_flashDuration);
_tween.TweenMethod(Callable.From(action),0.8f,0.0f,_flashDuration);
}
private void SetAmount(float amount)