#What is the current (0.9.1) way to order systems?
5 messages · Page 1 of 1 (latest)
There are two ways depending on your use case
oh wait, this will be easier:
You can either use labels:
app
.add_system(other)
.add_system(mine.after(other))
// or
enum Systems {Other, Bar, Baz}
app
add_system(other.label(Systems::Other))
.add_system(mine.after(Systems::Other))
``` which order systems in the same stage, this is (1)
Or you can use stages (2). Which you'd want if depend on the effect of Commands crated in other in mine.