保存图片压缩;记录列表清缓存;ms延迟3s;比赛列表样式问题

This commit is contained in:
Caiyanpeng committed 2021-11-19 10:54:14 +08:00
1 parent 5ba176725f
commit 3083224ee6
8 files changed
+63 -24

No files matched your search

@@ -904,7 +904,7 @@ public class CyclingController : DeviceServiceMonoBase
RenderTexture.active = null; // JC: added to avoid errors
GameObject.Destroy(rt);
// 最后将这些纹理数据,成一个图片文件
byte[] bytes = screenShot.EncodeToPNG();
byte[] bytes = screenShot.EncodeToJPG();
//var path = Helper.GetDataDir("MapWorkoutRecords/images");
//string filename = path + "/" + Guid.NewGuid().ToString() + ".png";