1 2 3 4 5 6 7 8 9 10 11
use bevy::prelude::*; use super::creation; pub struct CameraPlugin; impl Plugin for CameraPlugin { fn build(&self, app: &mut App) { app.add_systems(Startup, creation::setup_camera); app.add_systems(Update, creation::zoom_camera); } }