Version: 2017.3

Cache.ClearCache

Switch to Manual
public bool ClearCache ();
public bool ClearCache (int expiration);

Parameters

expiration The number of seconds that AssetBundles may remain unused in the cache.

Returns

bool Returns True when cache clearing succeeded.

Description

Removes all cached content in the cache that has been cached by the current application.

Returns false if any cached bundle is in use.