-
Notifications
You must be signed in to change notification settings - Fork 503
Add GetDescendant methods to SharedContainerSystem #6086
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
Add GetDescendant methods to SharedContainerSystem #6086
Conversation
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.
This is doing a silly amount of allocations.
how silly....... |
There is already a method like this but it is private iirc |
Nvm it's for ascendant insertion not for descendant enumeration |
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.
Why do these return IEnumerator<T>
instead of IEnumerable<T>
?
¯\_(ツ)_/¯ |
... |
Title
Specifically, getting every single entity that is contained in a container/entity, including in other containers in those entities
Mostly just for convenience