1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use bevy::{ prelude::{ Entity, Query, }, ui::Interaction, }; pub type QueryEntityInteraction<'w, 's> = Query< 'w, 's, WorldQuery, ReadOnlyWorldQuery, >; pub type WorldQuery = (Entity, &'static Interaction); pub type ReadOnlyWorldQuery = ();