static AssetLoadException FromMissingAsset(string assetName, Exception innerException=null)
static string CleanPath(string path)
void SetAssetNames(IEnumerable< string > paths)
static string CleanZipPath(string path)
readonly Dictionary< string, ZipEntry > _entries
override Stream OpenStream(string assetName)
Must be threadsafe!
ZipContentSource(string path)
ZipContentSource(ZipFile zip, string contentDir)
ZipContentSource(string path, string contentDir)
readonly ZipFile _zipFile
readonly string _basePath
virtual void Dispose(bool disposing)
static bool ZipPathContainsInvalidCharacters(string path)
static string Replace(string input, string pattern, string replacement)