Simple class with static Zip and Unzip functions. Implements System.IO.Compression.GZipStream for compression.
|
static void | UnityUnZipFileWindow () |
| Creates a menu Item under File-> /<EyE>-> UnGzipFile which will open up a window prompting the user to select a file. This file will then be unzipped, and the result saved to disk.
|
|
static void | UnityZipFileWindow () |
| Opens a Unity File selection Window, for the user. When a file is selected an Open is pressed, a new file will be created with a .gzip extension. This new file will be a Gzip compressed version of the original. (not decompressible by windows native file explorer, but does work with common decompression tools) the folder containing the new file will be opened in the OS file browser using UnityEngine.Application.OpenURL
|
|