Skip to content

Equivalent of Ease.Flash #81

Answered by KyryloKuzyk
meturgut asked this question in FAQ
Discussion options

You must be logged in to vote

Hey @meturgut

Can you please provide a usage example? I'm currently trying to understand how to properly use the Ease.Flash, and it seems like the same as using multiple cycles on a tween. These two animations produce visually the same results, for example:

// DOTween:
transform.DOMove(new Vector3(0, 5), 1f).SetEase(Ease.InFlash, overshoot: 5);
// PrimeTween:
Tween.Position(transform, new Vector3(0, 5), 1f / 5f, Ease.InSine, cycles: 5, cycleMode: CycleMode.Rewind);

Are there any differences between Ease.Flash and using multiple animation cycles?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KyryloKuzyk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #59 on May 30, 2024 06:14.