Fix link to states example (#17595)
Fixes the link to the states example. Co-authored-by: Rob Parrett <robparrett@gmail.com>
This commit is contained in:
parent
f7c27b534a
commit
909b02e9de
@ -6,7 +6,7 @@
|
||||
//!
|
||||
//! - Standard [`States`](state::States) can only be changed by manually setting the [`NextState<S>`](state::NextState) resource.
|
||||
//! These states are the baseline on which the other state types are built, and can be used on
|
||||
//! their own for many simple patterns. See the [state example](https://github.com/bevyengine/bevy/blob/latest/examples/state/state.rs)
|
||||
//! their own for many simple patterns. See the [states example](https://github.com/bevyengine/bevy/blob/latest/examples/state/states.rs)
|
||||
//! for a simple use case.
|
||||
//! - [`SubStates`](state::SubStates) are children of other states - they can be changed manually using [`NextState<S>`](state::NextState),
|
||||
//! but are removed from the [`World`](bevy_ecs::prelude::World) if the source states aren't in the right state. See the [sub_states example](https://github.com/bevyengine/bevy/blob/latest/examples/state/sub_states.rs)
|
||||
|
Loading…
Reference in New Issue
Block a user