Skip to content

What's the accepted/simplest way to create(cache) a Tween or sequence without starting it? #88

Answered by KyryloKuzyk
ZedDevStuff asked this question in FAQ
Discussion options

You must be logged in to vote

In PrimeTween there is no way to create an animation without starting it. You can create an animation and pause it, but this is probably not what you're looking for.

If you're looking for DOTween's way of creating animation upfront, then calling PlayForward/Backwards() on it, there is no equivalent to it in PrimeTween for many reasons. Instead, in PrimeTween you create an animation at the same exact moment you need to play it.

More info:
https://github.com/KyryloKuzyk/PrimeTween?tab=readme-ov-file#tweenplayforwardplaybackwardsrestart
https://discussions.unity.com/t/primetween-high-performance-animations-and-sequences/926420/125

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ZedDevStuff
Comment options

@KyryloKuzyk
Comment options

Answer selected by KyryloKuzyk
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
3 participants