Module bevy_state::state_scoped

source ·
Expand description

Provides [StateScoped] and [clear_state_scoped_entities] for managing lifetime of entities.

Structs§

  • Entities marked with this component will be removed when the world’s state of the matching type no longer matches the supplied value.

Functions§