Data structure for cache. For more information, see Caching.AddCache.
Note: The Cache API is not supported in WebGL because AssetBundles are stored in the browser cache for the WebGL platform.
expirationDelay | AssetBundle がキャッシュから自動で削除される有効期限。秒単位で指定します。 |
index | Returns the index of the cache in the cache list. |
maximumAvailableStorageSpace | Allows you to specify the total number of bytes that can be allocated for the cache. |
path | Returns the path of the cache. |
readOnly | Returns true if the cache is readonly. |
ready | Returns true if the cache is ready. |
spaceFree | Returns the number of currently unused bytes in the cache. |
spaceOccupied | Returns the used disk space in bytes. |
valid | Returns true if the cache is valid. |
ClearCache | Removes all cached content in the cache that has been cached by the current application. |