Function count_down

Source
pub fn count_down(
    commands: Commands<'_, '_>,
    state: ResMut<'_, NextState<UiState>>,
    timer: ResMut<'_, SplashTimer>,
    splash: Query<'_, '_, Entity, With<SplashScreen>>,
    time: Res<'_, Time>,
)