保存图片压缩;记录列表清缓存;ms延迟3s;比赛列表样式问题
This commit is contained in:
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";
|
||||
|
||||
Reference in new issue
Block a user