Simple class with static Zip and Unzip functions. Implements System.IO.Compression.GZipStream for compression.

Static Public Member Functions

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
 

Static Public Attributes

static bool zipperWindowOpensFileSystemWindowToFolderAfterCompression
 static value assigned by preference option. When a file is compressed using the file->eye->gzip menu option, this value specifies if the OS file system browser window should be opened showing the compressed file.