Crate bevy_atomic_save
source ·Structs
A
Resource
available during SaveStage::PostLoad
which contains a mapping of previously saved entities
to new loaded entities.A [
Component
] which indicates that its [Entity
] should be saved.A [
Component
] which indicates that its [Entity
] and all of its [Children
] should be despawned before load.Enums
Traits
Trait used to read and update entity references from
Loaded
.Trait used to load a [
World
] from a file.Extension trait used to register components which implement
FromLoaded
with an [App
].Trait used to save a [
World
] to a file.Functions
Loads a previously saved [
DynamicScene
] into the given [World
].A [
System
] which calls FromLoaded::from_loaded
on all instances of a [Component
]
which implements FromLoaded
.Saves the
entities
within the given [World
] and returns it as a serializable [DynamicScene
].A [
RunCriteria
] which returns [ShouldRun::Yes
] if there is a load Request
present; [ShouldRun::No
] otherwise.A [
RunCriteria
] which returns [ShouldRun::Yes
] if there is a save Request
present; [ShouldRun::No
] otherwise.