Switch to new Camera2d struct over cam bundle
This commit is contained in:
@@ -89,7 +89,7 @@ struct WorldSize {
|
|||||||
struct TitleUI;
|
struct TitleUI;
|
||||||
|
|
||||||
fn spawn_camera(mut commands: Commands) {
|
fn spawn_camera(mut commands: Commands) {
|
||||||
commands.spawn(Camera2dBundle::default());
|
commands.spawn(Camera2d);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn spawn_player(
|
fn spawn_player(
|
||||||
|
|||||||
Reference in New Issue
Block a user