Crate bevy_simple_prefs

Source
Expand description

Bevy Simple Prefs

A small Bevy plugin for persisting multiple Resources to a single file.

Structs§

LoadPrefsTask
A component that holds the task responsible for updating individual preference Resources after they have been loaded.
PrefsPlugin
The Bevy plugin responsible for persisting T.
PrefsSaveSystems
A system set containing the system that initializes a save task.
PrefsSettings
Settings for PrefsPlugin.
PrefsStatus
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.