Cargo Features
[dependencies]
pyri_state = { version = "0.3.0", default-features = false, features = ["bevy_app", "bevy_reflect", "bevy_state", "debug", "react", "sequence", "split", "stack"] }
- default = bevy_app, bevy_reflect, bevy_state, debug, react, sequence, split, stack
-
All features are enabled by default.
- bevy_app default
-
Enable plugins and
App
extension traits.Enables bevy_app, bevy_app of pyri_state_derive
- bevy_reflect default
-
Derive
Reflect
for the types in this crate.Enables bevy_reflect, bevy_reflect of bevy_ecs
- bevy_state default
-
Enable the
BevyState
wrapper type for ecosystem compatibility.Enables bevy_state, bevy_state of pyri_state_derive
Affects
extra::bevy_state
… - debug default
-
Enable state debugging tools (e.g. on-flush logging).
Enables bevy_core and bevy_log, debug of pyri_state_derive
Affects
pyri_state::debug
… - react default
-
Enable reaction components such as
DespawnOnExit
.Enables bevy_hierarchy and bevy_render, react of pyri_state_derive
Affects
extra::react
… - sequence default
-
Enable the
NextStateIndex
next state type.Affects
next_state::sequence
… - split default
-
Enable the
SplitState
code organization tool.Affects
extra::split
… - stack default
-
Enable the
NextStateStack
next state type.Affects
next_state::stack
…