Update for Bevy 0.11-dev : Schedule-First API. #362
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Good Morning/Afternoon, Dimforge Team,
I have forked the repo and written changes required to work with the new Schedule-First API.
The API has been devised in bevyengine/bevy#8079, and I wanted to use them ASAP, so I thought I'd make my efforts public.
TL;DR for the above PR:
add_startup_system
/add_system
have been deprecated in favour ofadd_systems
.Render
has its ownScheduleLabel
now as well.FYI: this is the first time I've ever contributed to an open-source project, so please let me know if there's anything I could have done differently.
Reminder: I changed the Cargo dependency for bevy to use the GitHub URL, please change to 0.11 once it has been finalised.
^ I don't mean to seem condescending in the line above, I just know that I would forget to change it, so I'm trying to be courteous.