Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How stop (destroy) all tweens in scene? #18

Closed
ShockWave2048 opened this issue Nov 3, 2023 · 1 comment
Closed

How stop (destroy) all tweens in scene? #18

ShockWave2048 opened this issue Nov 3, 2023 · 1 comment

Comments

@ShockWave2048
Copy link

Hi Kyrylo!
How stop (destroy) all tweens in scene?
Thanks!

@KyryloKuzyk
Copy link
Owner

If you have one only one scene loaded, you can stop all tweens by calling Tween.StopAll(). If you have multiple scenes loaded, there is currently no way to stop all tweens only in one specific scene.
I should mention that with PrimeTween it's safe to change scenes or destroy objects with running tweens, so using Tween.StopAll() may not be even necessary in the majority of cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants