Set a color for the aabb's visualization in the example..
This commit is contained in:
parent
8aca277350
commit
54a43de5bb
@ -221,7 +221,9 @@ mod text {
|
|||||||
Transform::from_translation(dest + Vec3::Z),
|
Transform::from_translation(dest + Vec3::Z),
|
||||||
anchor,
|
anchor,
|
||||||
DespawnOnExitState(super::Scene::Text),
|
DespawnOnExitState(super::Scene::Text),
|
||||||
ShowAabbGizmo::default(),
|
ShowAabbGizmo {
|
||||||
|
color: Some(palettes::tailwind::AMBER_400.into()),
|
||||||
|
},
|
||||||
children![
|
children![
|
||||||
(
|
(
|
||||||
TextSpan::new(format!("{}, {}\n", anchor.x, anchor.y)),
|
TextSpan::new(format!("{}, {}\n", anchor.x, anchor.y)),
|
||||||
|
Loading…
Reference in New Issue
Block a user