
# Objective Updated the docs for bevy_ui as requested by #3492 ## Solution I have documented the parts I understand. anchors.rs is not in use and should be removed, thus I haven't documented that, and some of the more renderer-heavy code is beyond me and needs input from either cart or someone familiar with bevy rendering Co-authored-by: Troels Jessen <kairyuka@gmail.com>
9 lines
233 B
Rust
9 lines
233 B
Rust
use bevy_ecs::prelude::Component;
|
|
use bevy_ecs::reflect::ReflectComponent;
|
|
use bevy_reflect::Reflect;
|
|
|
|
/// Marker struct for buttons
|
|
#[derive(Component, Debug, Default, Clone, Copy, Reflect)]
|
|
#[reflect(Component)]
|
|
pub struct Button;
|