Data Compressor
This plugin allows developers to drastically reduce the file sizes of data
files within their project and helps protect data files from being reopened.
这个插件可以让你压缩数据文件夹的大小,并且保护文件
How it Works
This plugin is pretty simple. It takes the data files from the /data/ folder
in your project, compresses them, and places them in /data/compressed/.
Once the compressed files have been created, they can be read from within
the game.
这个插件很简单,他就是压缩你的数据文件放入指定文件夹,使你在游戏里可以读取
To first create the files, set the “Compress Data?” Parameter to ‘true’, then
playtest your game within the editor.
你需要设置“Compress Data?”参数为‘true’,并且测试游戏
Once your game is ready to export, make sure the data you want is compressed,
set the “Read from Compression” Parameter to ‘true’, then export the project.
请在导出游戏前,确保数据文件已经压缩,设置“Read from Compression”参数为‘true’,然后导出项目
Finally, within the exported game’s /data/ folder, delete all the normal data files. Make sure you don’t delete the /data/compressed/ folder!
最后,删除游戏目录下所有原始素材,保留压缩后的素材即可