pub fn open_segment_window(
cmd: Commands<'_, '_>,
q_segments: Query<'_, '_, (&TrackSegment, &SignalsManager)>,
q_signals: Query<'_, '_, (Entity, &Signals, &TrackPos)>,
curr_state: Res<'_, State<UiState>>,
)Expand description
System that runs in the OnEnter schedule of segment ui state and opens the window