-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Relationships (non-fragmenting, one-to-many) #17398
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
Merged
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f401fb3
Fragmenting Relations
cart 961ea73
OnDespawn
cart dd999c7
Merge remote-tracking branch 'origin/main' into relations
cart c383baf
Minor fixes and clippy
cart 1492844
Support deriving on_despawn and fix archetype flags
cart b4798f2
Derive relationship
cart 44eb8b9
RelationshipSources derive
cart 0bd10cd
Support arbitrary collections
cart c38bc9c
Add type constraint
cart 0052080
Opt-in despawn_descendants. Apply commands on spawn
cart cf86a92
Better "private" error message
cart bdacea7
despawn_related
cart 060a3fb
Reorganize relationship module
cart 55864c0
Documentation and ci
cart f1988d9
Merge remote-tracking branch 'origin/main' into relations
cart a051983
Register on_despawn in World::bootstrap
cart e823d1c
Add commands access to RelatedSpawnerCommands
cart c69070d
Add comment about mutability to RelationshipSources
cart cae5020
More EntityWorldMut tests
cart 7aab4af
Remove take()
cart 0d6cffb
Add deprecated version of despawn_recursive
cart a6ebc65
Put the children first! Why won't anyone think of the children!
cart 3cee622
Adding warning about infinite loops
cart b9efb1a
Warn about infinite loops
cart 30723bc
Derive Relationship and RelationshipSources through Component
cart ac94d66
Add hierarchy docs and Deref impl
cart 74eaf36
Update crates/bevy_ecs/src/relationship/mod.rs
cart 6634492
Scary names not deprecation
cart ab00b6d
Clippy
cart 3e84a87
RelationshipSources -> RelationshipTarget
cart 966ebca
Fix doc link
cart ec626d6
Fix bug that occurs when inserting the same Parent on top of itself.
cart 5851993
Fix test and clippy
cart 874a310
taplo fmt
cart 504b105
Clippy
cart 626d35a
- ___ -
cart 3799b57
Thank you miri <3
cart 7865248
Feature gate bevy_reflect
cart da8874c
More optional reflection
cart a2d0e57
Doc links
cart 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.