1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use bevy::prelude::{Startup, Update}; use bevy_registration::prelude::schedule; use std::time::Duration; mod app; mod far; schedule! { Update( [run_every(Duration::from_secs_f32(1.5))] Test( First, Second, Third, ), ) } fn main() { app::app(); }