Skip to content

Commit

Permalink
Cleanup app resource (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Multirious authored Jun 11, 2024
1 parent 38c7a75 commit db5f755
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@ impl Plugin for TweenCorePlugin {
.register_type::<tween::AnimationTarget>()
.register_type::<tween::TweenInterpolationValue>();
}

fn cleanup(&self, app: &mut App) {
app.world.remove_resource::<TweenAppResource>();
}
}

/// Enum of SystemSet in this crate.
Expand Down

0 comments on commit db5f755

Please sign in to comment.