Function bevy_yoleck::yoleck_map_entity_to_uuid

source ·
pub fn yoleck_map_entity_to_uuid(
    In: In<Option<Entity>>,
    uuid_query: Query<'_, '_, &YoleckEntityUuid>
) -> Option<Uuid>
Expand description

Transforms an entity to its UUID. Meant to be used with Yoleck’s exclusive edit systems and with Bevy’s system piping.

It accepts and returns an Option because it is meant to be used with vpeol_read_click_on_entity.