public void Riddle_2_Active()
 {
     if (Riddle1)
     {
         Panel.SetActive(true);
         foreach (GameObject UI_Object2 in UI_Objects2)
         {
             UI_Object2.SetActive(true);
         }
     }
 }
 public void ClosePanel()
 {
     foreach (GameObject UI_Object1 in UI_Objects1)
     {
         UI_Object1.SetActive(false);
     }
     foreach (GameObject UI_Object2 in UI_Objects2)
     {
         UI_Object2.SetActive(false);
     }
     Panel.SetActive(false);
 }
 public void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         foreach (GameObject UI_Object1 in UI_Objects1)
         {
             UI_Object1.SetActive(false);
         }
         foreach (GameObject UI_Object2 in UI_Objects2)
         {
             UI_Object2.SetActive(false);
         }
         Panel.SetActive(false);
     }
 }