소스 검색

相册在分享出保存到本地报错

zhaoyang 2 년 전
부모
커밋
32e8cfd072
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      GameClient/Assets/Game/HotUpdate/ServerProxy/PictureStorageHelper.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/ServerProxy/PictureStorageHelper.cs

@@ -135,6 +135,7 @@ namespace GFGGame
                 {
                     Texture2D texture = (request.downloadHandler as DownloadHandlerTexture).texture;
                     data.Ntexture = new NTexture(texture);
+                    data.Bytes = texture.EncodeToJPG();
                 }
             }
         }