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); });