static void SetPlatformSettings(string platform, SpriteAtlas spriteAtlas, SoSpriteAtlasPostprocessor so)
        {
            var soPlatformSettings = so.GetPlatformSettings(platform);
            var platformSettings   = spriteAtlas.GetPlatformSettings(platform);

            platformSettings.overridden         = soPlatformSettings.overridden;
            platformSettings.format             = (TextureImporterFormat)soPlatformSettings.format;
            platformSettings.maxTextureSize     = soPlatformSettings.maxTextureSize;
            platformSettings.compressionQuality = (int)soPlatformSettings.compressionQuality;
            spriteAtlas.SetPlatformSettings(platformSettings);
        }
        static bool ComparePlatformSetting(string platform, SoSpriteAtlasPostprocessor texturePostprocessorBase, SpriteAtlas spriteAtlas, ref string message)
        {
            var so = texturePostprocessorBase.GetPlatformSettings(platform);
            var texturePlatformSettings = spriteAtlas.GetPlatformSettings(platform);
            var same     = true;
            var sameInfo = string.Empty;

            if (so.overridden != texturePlatformSettings.overridden)
            {
                same     = false;
                sameInfo = StringUtil.Contact(sameInfo, "\n", "overridden");
            }

            if (so.overridden && texturePlatformSettings.overridden)
            {
                if (so.format != (int)texturePlatformSettings.format)
                {
                    same     = false;
                    sameInfo = StringUtil.Contact(sameInfo, "\n", "format");
                }

                if ((int)so.compressionQuality != texturePlatformSettings.compressionQuality)
                {
                    same     = false;
                    sameInfo = StringUtil.Contact(sameInfo, "\n", "compressionQuality");
                }

                if (so.maxTextureSize != texturePlatformSettings.maxTextureSize)
                {
                    same     = false;
                    sameInfo = StringUtil.Contact(sameInfo, "\n", "maxTextureSize");
                }
            }

            if (!same)
            {
                message = StringUtil.Contact(message, "\n", "<b>platform: ", platform, "</b>", sameInfo);
            }

            return(same);
        }