Skip to content
Snippets Groups Projects
Commit e31e76dc authored by Jerome Humbert's avatar Jerome Humbert
Browse files

Add `TweenCompleted` event

Add a mechanism to `Tween<T>` to raise a Bevy event once the tween
completed. The event raising can be enabled with `set_completed_event()`
and `with_completed_event()`. The `TweenCompleted` event contains the
`Entity` on which the `Animator<T>` or `AssetAnimator<T>` owning the
tween are attached.

Update the `sequence` example to show how to use that new event
mechanism.
parent 302597ed
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment