get all components and tags from entity? #132
ludek17052
started this conversation in
General
Replies: 2 comments 2 replies
-
Check Out the wiki of this repository. There is a functionality called snapshot to achieve what you are trying to do. You can get the snapshot of an entire world or a snapshot of a specific entity. It will contain it's components and tags. world.snapshotOf(entity) |
Beta Was this translation helpful? Give feedback.
0 replies
-
OK. Thank you. I will try it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I get all components and tags from entity?
Now I can use: playerEntity.get(PlayerComponent)
to get one component.
I would like to ask if I can get list of all components or tags?
If it is not possible can I ask you to add this function?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions