public void SetInstallDirectory(string installDirectory) { InstallDirectory = PathUtility.Combine(installDirectory, "Master"); #if UNITY_IOS if (InstallDirectory.StartsWith(Application.persistentDataPath)) { UnityEngine.iOS.Device.SetNoBackupFlag(InstallDirectory); } #endif }
/// <summary> 保存先ディレクトリ設定. </summary> public void SetInstallDirectory(string directory) { InstallDirectory = PathUtility.Combine(directory, "ExternalResources"); #if UNITY_IOS if (InstallDirectory.StartsWith(Application.persistentDataPath)) { UnityEngine.iOS.Device.SetNoBackupFlag(InstallDirectory); } #endif assetBundleManager.SetInstallDirectory(InstallDirectory); #if ENABLE_CRIWARE_ADX || ENABLE_CRIWARE_SOFDEC criAssetManager.SetInstallDirectory(InstallDirectory); #endif }