Improve flash
This commit is contained in:
parent
7614b12076
commit
0fc71532e2
5 changed files with 8 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue