zhaoyang 2 vuotta sitten
vanhempi
commit
2de5fa2367

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

@@ -30,7 +30,7 @@ namespace GFGGame
         {
         {
             base.OnShown();
             base.OnShown();
             Texture2D tex = this.viewData as Texture2D;
             Texture2D tex = this.viewData as Texture2D;
-            byte[] bytes = tex.EncodeToJPG();//将纹理数据,转化成一个jpg图片
+            bytes = tex.EncodeToJPG();//将纹理数据,转化成一个jpg图片
             _ui.m_imgRes.texture = new NTexture(tex);
             _ui.m_imgRes.texture = new NTexture(tex);
             float width = _ui.m_imgBorder.width;
             float width = _ui.m_imgBorder.width;
             float height = width * tex.height / tex.width;
             float height = width * tex.height / tex.width;