Refactor (#1)
This commit is contained in:
@@ -16,7 +16,7 @@ fn spawn_camera_2d(mut commands: Commands) {
|
||||
|
||||
fn spawn_sprite_webview(mut commands: Commands, mut images: ResMut<Assets<Image>>) {
|
||||
commands.spawn((
|
||||
CefWebviewUri::new("https://bevyengine.org/"),
|
||||
CefWebviewUri::new("https://github.com/not-elm/bevy_cef"),
|
||||
Pickable::default(),
|
||||
Sprite {
|
||||
image: images.add(Image::default()),
|
||||
|
||||
Reference in New Issue
Block a user