public static void HideProgress(GameObject previousMenuItemToFocus = null, int hideDelay = 0) { if (previousMenuItemToFocus != null) { EventSystem.current.SetSelectedGameObject(previousMenuItemToFocus); } DialogOverlay.Hide(hideDelay); }