-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Redo State architecture #1424
Closed
Closed
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
a9d4f55
Implement StateSet
TheRawMeatball 4c4f795
ci fix
TheRawMeatball ff6ed69
Improve API and remove StateStage
TheRawMeatball ca54b6e
Fix bevy_app
TheRawMeatball f1073f5
Minor cleanup
TheRawMeatball 49adf8e
Major improvements
TheRawMeatball 5c756a8
Fix startup bug
TheRawMeatball bf78a9e
Add InStackUpdate
TheRawMeatball a515a97
Fix unit test
TheRawMeatball 79f68ee
Arbitrarily typed states
TheRawMeatball 2bc0e30
Removed redundant allow
TheRawMeatball b659cec
Merge branch 'main' into state-set-v2
TheRawMeatball c1f6079
Update State
TheRawMeatball 12a98e5
hotfix
TheRawMeatball d0065f2
Finalize
TheRawMeatball f493d32
Finish
TheRawMeatball 2f5cac9
Update crates/bevy_ecs/src/schedule/state.rs
TheRawMeatball 0616037
Remove unnecessary /**/
TheRawMeatball e71dc64
Improve API ergonomics
TheRawMeatball 3da119f
Hotfix
TheRawMeatball b8b0081
Fix same-state transitions
TheRawMeatball 1c6beed
Cut down on explicit ordering
TheRawMeatball 07cb8fe
Merge branch 'main' into state-set-v2
TheRawMeatball eb37b9a
cargo fmt
TheRawMeatball 1f4a4fb
Remove unnecessary println!
TheRawMeatball e67bab1
Final issues
TheRawMeatball File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add these system sets (and hence states) to stages other than
Update
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add_state_to_stage
is the solution for this.