Class AssetBundleCacheManager
- Namespace
- TAssetBundle
- Assembly
- TAssetBundle.dll
따로 관리되는 캐시 된 에셋 번들 정보를 관리하는 매니저
public class AssetBundleCacheManager
- Inheritance
-
AssetBundleCacheManager
- Inherited Members
Constructors
AssetBundleCacheManager(IAssetBundleManager)
public AssetBundleCacheManager(IAssetBundleManager manager)
Parameters
managerIAssetBundleManager
Methods
Exists(AssetBundleRuntimeInfo)
public bool Exists(AssetBundleRuntimeInfo info)
Parameters
Returns
GetCacheInfo(string)
public AssetBundleCacheInfo GetCacheInfo(string name)
Parameters
namestring
Returns
GetFilePath(AssetBundleRuntimeInfo)
public string GetFilePath(AssetBundleRuntimeInfo info)
Parameters
Returns
RecompressAfterCachingAsync(byte[], AssetBundleRuntimeInfo, BuildCompression, bool)
public Task<bool> RecompressAfterCachingAsync(byte[] bytes, AssetBundleRuntimeInfo info, BuildCompression sourceCompression, bool sourceEncrypted)
Parameters
bytesbyte[]infoAssetBundleRuntimeInfosourceCompressionBuildCompressionsourceEncryptedbool
Returns
RecompressAssetBundleAsync(string, AssetBundleRuntimeInfo)
public Task<string> RecompressAssetBundleAsync(string filePath, AssetBundleRuntimeInfo info)
Parameters
filePathstringinfoAssetBundleRuntimeInfo
Returns
RemoveNotUsedAssetBundleVersions()
public void RemoveNotUsedAssetBundleVersions()
Save(string, AssetBundleCacheData)
public void Save(string filePath, AssetBundleCacheData cacheData)
Parameters
filePathstringcacheDataAssetBundleCacheData
UpdateVersion(AssetBundleRuntimeInfo)
public void UpdateVersion(AssetBundleRuntimeInfo info)
Parameters
Events
OnRemovedVersion
public event Action<AssetBundleCacheVersion> OnRemovedVersion