Crates.io | bevy_ui_coords |
lib.rs | bevy_ui_coords |
version | 0.1.0 |
source | src |
created_at | 2024-10-19 18:06:07.182787 |
updated_at | 2024-10-19 18:06:07.182787 |
description | Bevy UI coordinates |
homepage | |
repository | https://github.com/hiisync/bevy_ui_coords |
max_upload_size | |
id | 1415621 |
size | 5,173 |
Bevy plugin for displaying camera position UI text.
Add the Bevy dependency to your Cargo.toml
:
[dependencies]
bevy_ui_coords = "0.1.0" # or the latest version
Include the PositionTextPlugin in your Bevy app:
use bevy::prelude::*;
use bevy_ui_coords::PositionUiTextPlugin;
fn main() {
App::new()
...
.add_plugins(PositionTextPlugin)
...
.run();
}
This project is licensed under the MIT License - see the LICENSE file for details.