diff --git a/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/GoToSceneController.cs b/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/GoToSceneController.cs index 604fb434..4a1cd29a 100644 --- a/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/GoToSceneController.cs +++ b/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/GoToSceneController.cs @@ -57,6 +57,7 @@ namespace Adam public void SwitchPanel() { + UIManager.Instance.threeDTip.gameObject.SetActive(false); GoToTheScenePlane.SetActive(false); } } diff --git a/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/UIManager.cs b/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/UIManager.cs index fb9d8210..05f26b99 100644 --- a/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/UIManager.cs +++ b/Electrical_inspectionCompetitionSystem/Assets/Adam/Scripts/UIManager.cs @@ -81,7 +81,6 @@ public class UIManager : MonoSingleton { threeDTip.transform.parent.gameObject.SetActive(true); threeDTip.text = name; - } } }