From 7eca71fe1e97d1af2539a3a85c89a998fb101ba0 Mon Sep 17 00:00:00 2001 From: LiHao <2470304407@qq.com> Date: Sat, 7 Jun 2025 12:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E9=BB=91=E8=89=B2?= =?UTF-8?q?=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/UIInstruction.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/UI/UIInstruction.cs b/Assets/Scripts/UI/UIInstruction.cs index 955a7bbe..c229346d 100644 --- a/Assets/Scripts/UI/UIInstruction.cs +++ b/Assets/Scripts/UI/UIInstruction.cs @@ -23,12 +23,12 @@ namespace QFramework.Example { if (isOn) { - Training.transform.Find("Label").GetComponent().color = new Color(1, 1, 1, 1f); + Training.transform.Find("Label").GetComponent().color = new Color(0, 0, 0, 1f); } else { - Training.transform.Find("Label").GetComponent().color = new Color(1, 1, 1, 0.5f); + Training.transform.Find("Label").GetComponent().color = new Color(0, 0, 0, 0.5f); } TrainContent.gameObject.SetActive(isOn); }); @@ -36,12 +36,12 @@ namespace QFramework.Example { if (isOn) { - Operation.transform.Find("Label").GetComponent().color = new Color(1, 1, 1, 1f); + Operation.transform.Find("Label").GetComponent().color = new Color(0, 0, 0, 1f); } else { - Operation.transform.Find("Label").GetComponent().color = new Color(1, 1, 1, 0.5f); + Operation.transform.Find("Label").GetComponent().color = new Color(0, 0, 0, 0.5f); } OperationContent.gameObject.SetActive(isOn); });