Then, I downloaded the file using It required an external dll to do. I actually got it working compressing the files at build into a tgz file. One can do that using code like this.I named this file Editor_BuildPreprocess.cs and placed it within my Editor folder: In this case what's needed is to zip that folder up into a tgz file and place that tgz file within the StreamingAssets folder upon building the game. You need to place that in your Plug-ins folder in your Assets directory.Ģ) So say, like me, you have your main game database files and save files in a directory like "Assets/Data". ![]() The best library I found for this is here: Then, I downloaded the file using It required an external dll to do.ĮDIT: Okay, who am I kidding I'm going to post the code here in case anyone ever has this problem.ġ) The first thing I needed was a library that works on android and windows universally for zipping up and unzipping tar.gz files (or tgz files, both of those formats the same thing). ![]() Click to expand.I actually got it working compressing the files at build into a tgz file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |