コード例 #1
0
 public void SvaeIamgeToLocal(Texture2D texture)
 {
     byte[] bytes = NativeGallery.GetTextureBytes(texture, false);
     Debug.Log("开始储存图片... Path:" + LoaclTexturePath);
     File.WriteAllBytes(LoaclTexturePath, bytes);
 }