bevy_ui_coords

Crates.iobevy_ui_coords
lib.rsbevy_ui_coords
version0.1.0
sourcesrc
created_at2024-10-19 18:06:07.182787
updated_at2024-10-19 18:06:07.182787
descriptionBevy UI coordinates
homepage
repositoryhttps://github.com/hiisync/bevy_ui_coords
max_upload_size
id1415621
size5,173
Mykola (hiisync)

documentation

README

Bevy Position Text Plugin ✨

Bevy plugin for displaying camera position UI text.

Features 🌟

  • Spawns a text entity with initial text.
  • Updates the text to display the camera's position in real-time.

Requirements ⚙️

  • Rust
  • Bevy 0.14+

Installation 📦

  1. Add the Bevy dependency to your Cargo.toml:

    [dependencies]
    bevy_ui_coords = "0.1.0" # or the latest version
    
  2. Include the PositionTextPlugin in your Bevy app:

     use bevy::prelude::*;
     use bevy_ui_coords::PositionUiTextPlugin;
    
     fn main() {
         App::new()
             ...
             .add_plugins(PositionTextPlugin)
             ...
             .run();
     }
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 5

cargo fmt