cargo fmt
This commit is contained in:
parent
d262796db0
commit
dc6b419afd
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue