public static void Init() { #if UNITY_ANDROID && !UNITY_EDITOR if (ApkFile == null) { ApkFile = new AssetZip(); ApkFile.Init(ResourcesPath.dataPath); } #endif }
public static void Init() { #if UNITY_ANDROID && !UNITY_EDITOR if (ApkFile == null) { ApkFile = new AssetZip(); ApkFile.Init(GoogleObbPath.GetMainObbPath()); } #endif }
public static void Release() { #if UNITY_ANDROID && !UNITY_EDITOR if (ApkFile != null) { ApkFile.Release(); ApkFile = null; GC.Collect(); } #endif }