Table of Contents

Class AssetBundleCacheManager

Namespace
TAssetBundle
Assembly
TAssetBundle.dll

따로 관리되는 캐시 된 에셋 번들 정보를 관리하는 매니저

public class AssetBundleCacheManager
Inheritance
AssetBundleCacheManager
Inherited Members

Constructors

AssetBundleCacheManager(IAssetBundleManager)

public AssetBundleCacheManager(IAssetBundleManager manager)

Parameters

manager IAssetBundleManager

Methods

Exists(AssetBundleRuntimeInfo)

public bool Exists(AssetBundleRuntimeInfo info)

Parameters

info AssetBundleRuntimeInfo

Returns

bool

GetCacheInfo(string)

public AssetBundleCacheInfo GetCacheInfo(string name)

Parameters

name string

Returns

AssetBundleCacheInfo

GetFilePath(AssetBundleRuntimeInfo)

public string GetFilePath(AssetBundleRuntimeInfo info)

Parameters

info AssetBundleRuntimeInfo

Returns

string

RecompressAfterCachingAsync(byte[], AssetBundleRuntimeInfo, BuildCompression, bool)

public Task<bool> RecompressAfterCachingAsync(byte[] bytes, AssetBundleRuntimeInfo info, BuildCompression sourceCompression, bool sourceEncrypted)

Parameters

bytes byte[]
info AssetBundleRuntimeInfo
sourceCompression BuildCompression
sourceEncrypted bool

Returns

Task<bool>

RecompressAssetBundleAsync(string, AssetBundleRuntimeInfo)

public Task<string> RecompressAssetBundleAsync(string filePath, AssetBundleRuntimeInfo info)

Parameters

filePath string
info AssetBundleRuntimeInfo

Returns

Task<string>

RemoveNotUsedAssetBundleVersions()

public void RemoveNotUsedAssetBundleVersions()

Save(string, AssetBundleCacheData)

public void Save(string filePath, AssetBundleCacheData cacheData)

Parameters

filePath string
cacheData AssetBundleCacheData

UpdateVersion(AssetBundleRuntimeInfo)

public void UpdateVersion(AssetBundleRuntimeInfo info)

Parameters

info AssetBundleRuntimeInfo

Events

OnRemovedVersion

public event Action<AssetBundleCacheVersion> OnRemovedVersion

Event Type

Action<AssetBundleCacheVersion>