| Crates.io | bevy_ui_mod_alerts |
| lib.rs | bevy_ui_mod_alerts |
| version | 0.2.0 |
| created_at | 2024-07-01 10:33:22.576415+00 |
| updated_at | 2024-07-15 19:04:46.722208+00 |
| description | Easy-spawn UIs that look like little popups. |
| homepage | |
| repository | https://github.com/snendev-labs/bevy_ui_mod_alerts |
| max_upload_size | |
| id | 1288633 |
| size | 124,570 |
A quick-and-dirty implementation of some "toast" UI element represented by an Alert component. Call the Alert::bundle constructor to build an AlertBundle, or pipe a system that reutnrs Vec<String> into the AlertsPlugin::alert function, and a toast ui node will spawn (and eventually disappear if a lifetime is specified).
See examples for more.