Expand description
Bevy Simple Prefs
A small Bevy plugin for persisting multiple Resource
s to a single file.
Structs§
- Load
Prefs Task - A component that holds the task responsible for updating individual preference
Resource
s after they have been loaded. - Prefs
Plugin - The Bevy plugin responsible for persisting
T
. - Prefs
Save Systems - A system set containing the system that initializes a save task.
- Prefs
Settings - Settings for
PrefsPlugin
. - Prefs
Status - Current status of the
PrefsPlugin
.
Traits§
- Prefs
- A trait to be implemented by
bevy_simple_prefs_derive
.
Functions§
- deserialize
- Deserializes preferences
- load_
str - Loads preferences from persisted data.
- save_
str - Persists preferences.
- serialize
- Serialize preferences
Derive Macros§
- Prefs
- Derive macro for
bevy_simple_prefs
.