fn on_segment_press(
e: On<'_, '_, PointerPress>,
cmd: Commands<'_, '_>,
q_segments: Query<'_, '_, Entity, With<TrackSegment>>,
)Expand description
Removes segments on pointer press. Relies on the RemoveSegment command.
fn on_segment_press(
e: On<'_, '_, PointerPress>,
cmd: Commands<'_, '_>,
q_segments: Query<'_, '_, Entity, With<TrackSegment>>,
)Removes segments on pointer press. Relies on the RemoveSegment command.