-
-
Notifications
You must be signed in to change notification settings - Fork 822
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
UIEffectTweener PlayOnEnable Restart Method Issue #299
Labels
Comments
Thank you for your reporting! |
This feature will be implemented in the next version! |
Awesome, looking forward to it! |
mob-sakai
added a commit
that referenced
this issue
Jan 26, 2025
github-actions bot
pushed a commit
that referenced
this issue
Jan 26, 2025
# [5.3.0](5.2.4...5.3.0) (2025-01-26) ### Features * `SamplingFilter.EdgeAlpha` and `SamplingFilter.EdgeLuminance` now support the `Sampling Width` property for edge width ([33b1177](33b1177)) * add `EdgeMode` feature ([eadb477](eadb477)) * add `ResetOnEnable` option for `UIEffectTweener` ([e326bb7](e326bb7)), closes [#299](#299) * add `TransitionAutoSpeed` property ([7a765c3](7a765c3)) * add `TransitionFilter.Pattern` feature ([b57e98b](b57e98b))
🎉 This issue has been resolved in version 5.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I noticed that the PlayOnEnable option in UIEffectTweener only works the first time the component is enabled and doesn't work after re-enabling it. I made a change to fix this by adding ResetTime in the OnEnable method. This way, the tween resets and starts correctly each time the component is enabled.
Here is the updated OnEnable method on UIEffectTweener.cs:
I hope this helps! This change makes it work similarly to how DotWeenPro tweener behaves. Maybe consider adding a restart option in the dropdown?
Thanks!
The text was updated successfully, but these errors were encountered: