public static void CloseMenu() { if (currentlyOpenUI) { currentlyOpenUI.Disable(); currentlyOpenUI = null; SetPause_Static(false); } }