bevy_window_icon

Crates.iobevy_window_icon
lib.rsbevy_window_icon
version0.4.0
sourcesrc
created_at2023-12-23 11:33:06.292953
updated_at2024-11-06 20:35:06.116862
descriptionWindow icons in Bevy
homepagehttps://github.com/0crispy/bevy_window_icon
repositoryhttps://github.com/0crispy/bevy_window_icon
max_upload_size
id1079012
size140,795
crispy (0crispy)

documentation

https://docs.rs/bevy_window_icon

README

bevy_window_icon

Crates.io A very simple crate to set the window icon.

How to use

use bevy::prelude::*;
use bevy_window_icon::WindowIconPlugin;
pub fn main() {
    App::new()
        .add_plugins((
            DefaultPlugins,
            WindowIconPlugin::new("examples/assets/icon.png")
        ))
        .run();
}

That's literally it.

Bevy Compatibility

bevy bevy_easy_localize
0.14 0.4
0.13 0.3
0.12 0.2
0.11 0.1
Commit count: 29

cargo fmt