Set a color for the aabb's visualization in the example..

This commit is contained in:
ickshonpe 2025-07-15 10:58:26 +01:00
parent 8aca277350
commit 54a43de5bb

View File

@ -221,7 +221,9 @@ mod text {
Transform::from_translation(dest + Vec3::Z),
anchor,
DespawnOnExitState(super::Scene::Text),
ShowAabbGizmo::default(),
ShowAabbGizmo {
color: Some(palettes::tailwind::AMBER_400.into()),
},
children![
(
TextSpan::new(format!("{}, {}\n", anchor.x, anchor.y)),