pub fn accumulate_mouse_scroll_system(
mouse_scroll_event: EventReader<'_, '_, MouseWheel>,
accumulated_mouse_scroll: ResMut<'_, AccumulatedMouseScroll>,
)
Expand description
Updates the AccumulatedMouseScroll
resource using the MouseWheel
event.
The value of AccumulatedMouseScroll
is reset to zero every frame