Skip to content

Commit

Permalink
Update click example
Browse files Browse the repository at this point in the history
  • Loading branch information
Multirious committed Mar 28, 2024
1 parent 176d33f commit 76aac44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/demo/click.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ mod my_interpolate {
use bevy::prelude::*;
use bevy_tween::prelude::*;

/// Automatically figure out the current position of this entity at then
/// tween from there.
pub struct JustTranslateTo {
pub start: OnceLock<Vec3>,
pub end: Vec3,
Expand All @@ -32,6 +34,8 @@ mod my_interpolate {
}
}

/// Automatically figure out the current scale of this entity at then
/// tween from there.
pub struct JustScaleTo {
pub start: OnceLock<Vec3>,
pub end: Vec3,
Expand Down

0 comments on commit 76aac44

Please sign in to comment.