tomt_bevycss 0.7.1

Expansion and fixes based on bevy_ecss. Allows for using a slightly wider subset of CSS to interact with Bevy ECS. Now on Bevy 0.13!
Documentation
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 = ();