Skip to content

It would be nice to use this plugin with ui entities #15

@vav-dev

Description

@vav-dev

It would be nice if Svg2dBundle could be used with ui entities like this:

container
    .spawn_bundle(ButtonBundle {
        ..default()
    })
    .with_children(|parent| {
        parent.spawn_bundle(Svg2dBundle {
            svg: assets_resource.cogwheel.clone(),
            origin: Origin::Center,
            ..default()
        });
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions