use bevy::prelude::*; use bevy_mod_osc::osc_sender::OscSender; use std::time::Duration; #[derive(Resource)] struct LastSentTime { pub last_sent_time: Option } fn main() { App::new() .add_plugins(MinimalPlugins) .insert_resource(OscSender::new("127.0.0.1", 1234)) .insert_resource(LastSentTime { last_sent_time: None }) .add_systems(Update, update) .run(); } fn update( mut osc_sender: ResMut, time: Res