瀏覽代碼

公用机提交

beiguoxia 3 年之前
父節點
當前提交
ca12953ef6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographSaveView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographSaveView.cs

@@ -66,7 +66,7 @@ namespace GFGGame
             Texture2D tex = this.viewData as Texture2D;
             Texture2D tex = this.viewData as Texture2D;
             byte[] bytes = tex.EncodeToPNG();//将纹理数据,转化成一个png图片
             byte[] bytes = tex.EncodeToPNG();//将纹理数据,转化成一个png图片
             var filePath = path + fileName;
             var filePath = path + fileName;
-            File.WriteAllBytes(filePath, bytes);
+            //File.WriteAllBytes(filePath, bytes);
             //GetSaveState(path);
             //GetSaveState(path);
             savePngAndUpdate(filePath);
             savePngAndUpdate(filePath);
         }
         }