From 101c7fc5e66d6b782c2ffaf9b47f01d738b2d0e5 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Sun, 6 Oct 2024 10:33:29 +0200 Subject: [PATCH] button validate answer --- src/main.rs | 98 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 39 deletions(-) diff --git a/src/main.rs b/src/main.rs index 86e2ce7..8510b3f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -204,64 +204,57 @@ fn player_rotate( mut query: Query<(&mut Player, &mut Transform)>, // Query to get Player and Transform sky: Res, // Res to access the Sky resource mut text_query: Query<&mut Text, With>, + mut button_query: Query<(&mut BackgroundColor, &mut BorderColor), With