How does the Bevy Resources System work? #4690
Answered
by
Geams
MasonJohnHawver42
asked this question in
Q&A
-
What data structures are used to create the bevy resources system? or here in the source code is this system outlined? I want to recreate this system in C++ for my own game engine. My current implementation uses an array of void pointers and a hash map that maps strings to the index of a void ptr. |
Beta Was this translation helpful? Give feedback.
Answered by
Geams
May 7, 2022
Replies: 1 comment
-
Search for Good luck with your engine! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MasonJohnHawver42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search for
insert_resource
in bevy::ecs::World.A resource is a component without an entity attached.
Other projects might also be useful:
Good luck with your engine!