private static void SetOverlayVisibility(UIOverlay overlay, bool isVisible) => overlay.SetVisible(isVisible);