fn timer_ticker_system(
  mut timer:  ResMut<GameTimer>,
  time: Res<Time>,
) {
  timer.0.tick(time.delta_seconds());
}
//system for change in time every loop
system for change in time every loop
system for change in time every loop
fn timer_ticker_system(
  mut timer:  ResMut<GameTimer>,
  time: Res<Time>,
) {
  timer.0.tick(time.delta_seconds());
}
fn timer_ticker_system ( mut timer : ResMut < GameTimer > , time : Res < Time > , ) { timer . 0 . tick ( time . delta_seconds ( ) ) ; }
system for change in time every loop
system for change in time every loop
timer
ResMut<GameTimer>
time
Res<Time>