Crate bevy_hints

Source
Expand description

§bevy_hints

Hints to future editors that this entity / struct field should be interacted in some way. Sometimes I want to customize how bevy_editor_pls generates UIs for my reflected values or entities. But I want my changes to also reflect in future editors without resorting to one-off patches for certain behaviours for just bevy_editor_pls and bevy-inspector-egui, and I think this is a slightly cleaner way of achieving that goal.

Structs§

  • When placed on an entity, any editors (or other programs) should try to display this entity’s debug representation using this color.
  • When placed on a field using reflect attributes, should be considered (by editors or any other programs) as read-only.