husheng0 / UnityZip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UniZip

UniZip is zipper for unity3d.

unity zip

#supported

  • iOS.
  • Android.
  • Mac.and probably windows.

#iOS how to

  1. build project.
  2. add file "PluginsCode>iOS>ZipArchive" to xcode project.
  3. enjoy.

#example

-unzip

string zipfilePath = Application.temporaryCachePath + "/args.zip"
string exportLocation = Application.temporaryCachePath + "/dir"

ZipUtil.Unzip ( zipfilePath, exportLocation);

-zip

string exportZip = Application.temporaryCachePath + "/dir/args.zip";
string[] files = new string[]{ Application.temporaryCachePath + "/dir/args.txt"}

ZipUtil.Zip (exportZip, files);

#License

This software is released under the MIT License, see LICENSE.

About

License:Other


Languages

Language:C 88.8%Language:Objective-C++ 6.7%Language:Java 2.6%Language:C# 1.1%Language:Objective-C 0.7%