Bevy Version: | 0.10 | (current) |
---|
Bevy Asset Management
Assets are the data that the game engine is working with: all of your images, 3D models, sounds, scenes, game-specific things like item descriptions, and more!
Bevy has a flexible system for loading and managing your game assets asynchronously (in the background, without causing lag spikes in your game).
In your code, you refer to individual assets using handles.
Asset data can be loaded from files and also accessed from code. Hot-reloading is supported to help you during development, by reloading asset files if they change while the game is running.
If you want to write some code to do something when assets finish loading, get modified, or are unloaded, you can use asset events.