public static void CombineAlpha(this Texture2D texture, Texture2D alpha_texture, string path) { var result = TextureHelper.CombineAlpha(texture, alpha_texture); File.WriteAllBytes(path, result.EncodeToPNG()); }