#egui #notifications #bevy #applications #notify #system #bevy-egui

bevy-egui-notify

Simple notifications library for EGUI, in the bevy system

1 unstable release

0.16.0 Oct 3, 2024

#1512 in Game dev

MIT license

115KB
636 lines

FORK NOTICE: This is a simple fork that uses bevy_egui's re-exported egui crate, such that one can use the same egui version within the same applications (otherwise, there would be issue if you try to pass in an older/newer version of egui context to draw things).

bevy-egui-notify

Simple notifications library for egui

example_image

example_video

Usage

use bevy_egui_notify::EguiToastsPlugin;

app.add_plugins(...)
    .add_plugins(EguiToastsPlugin::default());

fn my_system(
    toasts: ResMut<EguiToasts>,
    ...
) {
    ...
    toasts.0.info("hello");
}

Installation

cargo add bevy-egui-notify

lib.rs:

egui-notify Simple notifications library for egui.

Dependencies

~31–65MB
~1M SLoC