This commit is contained in:
StephenAdamson
2024-12-18 00:09:13 +00:00
parent d107626b32
commit 18d587fdea
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ use bevy::prelude::*;
#[require(Transform)]
pub struct Cursor {}
pub fn setup_curor(mut commands: Commands, asset_server: Res<AssetServer>) {
pub fn setup_cursor(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn((
Transform::from_xyz(0., 0., 10.).with_scale(Vec3::splat(PIXEL_RATIO)),
Sprite {