-
-
Notifications
You must be signed in to change notification settings - Fork 843
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
Get a view of components with a certain trait #1144
Comments
No, there isn't.
The simplest solution is to redesign your component and turn the template parameter into a member, so as to have a single type to filter later on. |
I assume this was answered. Feel free to continue the discussion here if this isn't the case. Thanks. |
As the title suggest, is there anyway to get a view with different types of components, but that they match a certain compile time predicate?
For example, lets say I have a trait
IsEnergy
Is there anyway I can get all the entities that have components A or B?
The text was updated successfully, but these errors were encountered: