Skip to content

Instantly share code, notes, and snippets.

@rparrett
Created June 7, 2024 20:03
Show Gist options
  • Save rparrett/6a0e2d31a4bffa5c10c758592c5a7e4b to your computer and use it in GitHub Desktop.
Save rparrett/6a0e2d31a4bffa5c10c758592c5a7e4b to your computer and use it in GitHub Desktop.
Bevy 0.14 migration notes

It would be nice to also mention the new type path for States:

// 0.13
bevy::ecs::schedule::{NextState, OnEnter, OnExit, OnTransition, State, States}
// 0.14
bevy::state::state::{NextState, OnEnter, OnExit, OnTransition, State, States}

// 0.13
bevy::ecs::schedule::common_conditions::in_state
// 0.14
use bevy::state::condition::in_state;

It seems like some list formatting was lost here.

First list item is not helpful. Maybe show an == LoadState::Failed being replaced with pattern matching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment