Function debug_draw

Source
pub fn debug_draw(
    commands: Commands<'_, '_>,
    camera_query: Query<'_, '_, (Entity, &Camera)>,
    primary_window: Query<'_, '_, Entity, With<PrimaryWindow>>,
    pointers: Query<'_, '_, (Entity, &PointerId, &PointerDebug)>,
    scale: Res<'_, UiScale>,
)
Expand description

Draw text on each cursor with debug info