refactor use bevy_sk material and hands

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-01-17 06:25:15 +01:00
parent a832266989
commit 4ea0d60310
7 changed files with 84 additions and 35 deletions

View File

@@ -81,8 +81,7 @@ fn spawn_text(
let str = text.text.lock().clone();
drop(_span2);
let mat = mats.add(DefaultMaterial {
base_color: convert_linear_rgba(data.color).into(),
unlit: true,
color: convert_linear_rgba(data.color).into(),
..Default::default()
});
let font = text