Function de_spawner::draft::update_draft_colour

source ·
fn update_draft_colour(
    commands: Commands<'_, '_>,
    draft_query: Query<'_, '_, (&'static DraftAllowed, Ref<'static, DraftReady>, &'static Children), Or<(Changed<DraftAllowed>, Changed<DraftReady>)>>,
    scene_instances_query: Query<'_, '_, &SceneInstance>,
    standard_materials: Query<'_, '_, &mut Handle<StandardMaterial>>,
    scene_spawner: Res<'_, SceneSpawner>,
    draft_materials: Res<'_, DraftMaterials>
)