merwaaan / bevy_spritesheet_animation

A Bevy plugin for animating sprites that are backed by spritesheets
MIT License
56 stars 5 forks source link

Make system sets public #15

Closed mgi388 closed 2 months ago

mgi388 commented 2 months ago

So I can do something like this:

app.add_systems(
  PostUpdate,
  update_my_sprites_anchor_and_size
    .after(AnimationSystemSet)
    .before(Sprite3dSystemSet),
);

To keep my system ordered correctly with bevy_spritesheet_animation.

Note: These seemed to have been made private in a cleanup commit, possibly accidentally?

merwaaan commented 2 months ago

Ah yes, sorry about that. I usually make anything that doesn't need to be exposed publically private so as not to pollute the API and I didn't think about this use case. Now I know better!

Thanks.