Example #1
0
 // Popup is clicked
 public void OnPointerClick(PointerEventData data)
 {
     // Hide the popup and show the log window
     if (!isPopupBeingDragged)
     {
         debugManager.Show();
         Hide();
     }
 }
 private void SetVisible(bool value)
 {
     if (value)
     {
         m_Manager.Show();
         m_PopUp.Hide();
         m_Manager.FocusInput();
     }
     else
     {
         m_Manager.Hide();
         m_PopUp.Show();
         m_Manager.UnfocusInput();
         RemoveAddedChar();
     }
 }