private void SetupDesktop() { Wallpaper.Backup(); Style(DesktopEx.FolderFlags.FWF_AUTOARRANGE, false); Style(DesktopEx.FolderFlags.FWF_SNAPTOGRID, false); DesktopEx.Icons(ref _Mode, ref _IconSize); var normalizedSize = new Vector2(1.0f, 1.0f) / (Config.StageSize + new Vector2Int(1, 1)); var desktopSize = Coordinates.NormalizedToDesktop_Size(normalizedSize); Debug.Log(Mathf.Min(desktopSize.x, desktopSize.y)); DesktopEx.Icons(_Mode, Mathf.Min(desktopSize.x, desktopSize.y)); }