bevy-debug-text-overlay 8.1.0

A convenient on-screen message print macro for bevy
Documentation
#![doc = include_str!("../Readme.md")]

use bevy::prelude::Resource;

#[cfg(feature = "debug")]
mod block;
#[cfg(feature = "debug")]
mod overlay;
#[cfg(feature = "debug")]
pub use overlay::{command_channels, CommandChannels, InvocationSiteKey, OverlayPlugin};

#[cfg(not(feature = "debug"))]
mod mocks;
#[cfg(not(feature = "debug"))]
pub use mocks::OverlayPlugin;

/// Control position on screen of the debug overlay.
#[derive(Resource, Default)]
pub struct DebugOverlayLocation {
    pub margin_vertical: f32,
    pub margin_horizontal: f32,
}