Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1712,14 +1712,15 @@ impl<'a> EntityCommandsTweeningExtensions<'a> for EntityCommands<'a> {
}

/// Event raised when a [`TweenAnim`] completed.
#[derive(Debug, Clone, Copy, Event, Message)]
#[derive(Debug, Clone, Copy, EntityEvent, Message)]
pub struct AnimCompletedEvent {
/// The entity owning the [`TweenAnim`] which completed.
///
/// Note that commonly the [`TweenAnim`] is despawned on completion, so
/// can't be queried anymore with this entity. You can prevent a completed
/// animation from being automatically destroyed by
/// setting [`TweenAnim::destroy_on_completion`] to `false`.
#[event_target]
pub anim_entity: Entity,
/// The animation target.
///
Expand Down
Loading