2个不稳定版本
0.2.0 | 2023年12月23日 |
---|---|
0.1.0 | 2023年12月23日 |
#1477 in 游戏开发
32KB
bevy_window_icon
使用方法
use bevy::prelude::*;
use bevy_window_icon::WindowIconPlugin;
pub fn main() {
App::new()
.add_plugins((
DefaultPlugins,
WindowIconPlugin::new("examples/assets/icon.png")
))
.run();
}
就是这样。
Bevy兼容性
bevy | bevy_easy_localize |
---|---|
0.12 | 0.2 |
0.11 | 0.1 |
依赖关系
~32–67MB
~1M SLoC