bevy_nested_tooltips 0.3.1

Nested Tooltips for the bevy game engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The events that are intended to be read by the user to react to are stored here.
//!

use bevy_ecs::component::Component;

/// Marker to indicate this node is currently being highlighted by this tooltip
/// When this component is added user should apply styling so it's obvious to the player
/// what is being highlighted.
/// See the highlight module for details on highlighting.
#[derive(Debug, Component)]
pub struct TooltipHighlighting;

/// Marker to indicate that this `ToolTip` should not be despawned.
/// When this component is added user should apply styling so it's obvious to the player
/// that the tooltip will not be despawned by timeout or pointer leaving.
#[derive(Debug, Component)]
pub struct TooltipLocked;