tuyoogame / YooAsset

unity3d resources management system
https://www.yooasset.com/
Apache License 2.0
2.25k stars 449 forks source link

原生文件支援加解密 (仅内存流支援) #297

Closed michael811125 closed 1 week ago

michael811125 commented 2 months ago

情境为以下:

行为一:

原生文件支援内存流的方式,则支援原生文件加解密,那么打包时,可以选择加密。

原生文件加密: image

取得解密文本: image

EditorSimulate Mode (passed) Host Mode (passed)

行为二:

原生文件不支援内存流的方式,只能透过 FilePath 进行文件读取,那么在打包时,需要注意不能进行原生文件的加密。

gmhevinci commented 1 week ago

2.2.0版本新增了文件系统,已经完美适配~ 可以参考提交记录: https://github.com/tuyoogame/YooAsset/commit/b0ce14dc0ea56e95f969f461ad5c82ddc5357589