feat(client): show card short details
1 files changed, 15 insertions(+), 0 deletions(-) M client/src/plugins/game/card/mod.rs
M client/src/plugins/game/card/mod.rs => client/src/plugins/game/card/mod.rs +15 -0
@@ 192,6 192,21 @@ fn on_spawn_card( transform: Transform::from_xyz(0.2, -0.575, 0.), ..Default::default() }); parent.spawn(TextMeshBundle { text_mesh: TextMesh { text: card.card.short_details.join("\n"), style: TextMeshStyle { font: card_data.font_normal.clone(), font_size: SizeUnit::NonStandard(4.), color: Color::rgb(1., 1., 1.), ..Default::default() }, ..Default::default() }, transform: Transform::from_xyz(-0.25, 0.075, 0.), ..Default::default() }); }); } }