Problem Statement
Sometimes I want to collect a component of the parent entity or child but I have to use a custom method to collect components. It should be cool to have an integrated getter in Relationship plugin.
Proposed Solution
Have clear functions to retrieve components of parent/childs out of an entity. Check other engine's API like unity's one GetComponentInChildren.
Alternative Solutions
We should check how to integrate functions to entity class. It happens often that we want to aggregate some utility functions to it like those one.
Use Cases
Describe how this feature would be used and who would benefit from it:
- Use case 1: Use it to directly retrieve entities parent components
Impact
Describe the potential impact of this feature:
Implementation Details (optional)
None
Additional Context
None
Related Issues
List any related issues or PRs:
Reactions are currently unavailable
Problem Statement
Sometimes I want to collect a component of the parent entity or child but I have to use a custom method to collect components. It should be cool to have an integrated getter in Relationship plugin.
Proposed Solution
Have clear functions to retrieve components of parent/childs out of an entity. Check other engine's API like unity's one GetComponentInChildren.
Alternative Solutions
We should check how to integrate functions to entity class. It happens often that we want to aggregate some utility functions to it like those one.
Use Cases
Describe how this feature would be used and who would benefit from it:
Impact
Describe the potential impact of this feature:
Implementation Details (optional)
None
Additional Context
None
Related Issues
List any related issues or PRs: