continue in mac
This commit is contained in:
parent
65c555aa03
commit
0c3ab5d8ad
@ -12,6 +12,7 @@ pub fn shoot_bullet(
|
|||||||
towards: Vec3,
|
towards: Vec3,
|
||||||
caliber: Caliber
|
caliber: Caliber
|
||||||
) {
|
) {
|
||||||
|
// Spawn muzzle flash LIGHT
|
||||||
commands.spawn(
|
commands.spawn(
|
||||||
(PointLightBundle {
|
(PointLightBundle {
|
||||||
point_light: PointLight {
|
point_light: PointLight {
|
||||||
@ -27,4 +28,6 @@ pub fn shoot_bullet(
|
|||||||
..Default::default()
|
..Default::default()
|
||||||
}, MuzzleFlashMarker(Timer::new(Duration::from_millis(10), TimerMode::Once)))
|
}, MuzzleFlashMarker(Timer::new(Duration::from_millis(10), TimerMode::Once)))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
@ -33,7 +33,6 @@ pub fn load_scene(application: &mut App) {
|
|||||||
application.add_systems(Update, follow_cursor_with_camera);
|
application.add_systems(Update, follow_cursor_with_camera);
|
||||||
application.add_systems(Update, load_animations);
|
application.add_systems(Update, load_animations);
|
||||||
|
|
||||||
|
|
||||||
application.add_systems(Update, set_skybox_if_loaded);
|
application.add_systems(Update, set_skybox_if_loaded);
|
||||||
application.add_systems(Update, update_camera_vertical_position);
|
application.add_systems(Update, update_camera_vertical_position);
|
||||||
application.add_systems(Update, capture_hand_usage);
|
application.add_systems(Update, capture_hand_usage);
|
||||||
|
Loading…
Reference in New Issue
Block a user