public void OpenWindowMenu() { if (WindowPanel.activeInHierarchy) { WindowPanel.SetActive(false); } else { WindowPanel.SetActive(true); } }