cargo fmt

This commit is contained in:
yuni 2024-07-09 04:33:31 +02:00
parent d262796db0
commit dc6b419afd

View file

@ -61,7 +61,7 @@ pub struct SpawnEffectEvent {
#[derive(Resource)]
pub struct SuitAnimation {
index: AnimationNodeIndex,
graph: Handle<AnimationGraph>
graph: Handle<AnimationGraph>,
}
pub fn setup(
@ -190,7 +190,10 @@ fn play_animations(
transitions
.play(&mut player, suit_animation.index, Duration::ZERO)
.repeat();
commands.entity(entity).insert(suit_animation.graph.clone()).insert(transitions);
commands
.entity(entity)
.insert(suit_animation.graph.clone())
.insert(transitions);
//player.play(suit_ani_node_index.0).repeat();
}
}