private static void CompressCubemapTexture(Cubemap texture, TextureFormat format)
 {
     if (texture == null)
     {
         throw new ArgumentNullException("texture can not be null");
     }
     EditorUtility.CompressCubemapTexture(texture, format, TextureCompressionQuality.Normal);
 }