A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unity3d.com/Manual/sprite/../../ScriptReference/Cache.html below:

Unity - Scripting API: Cache

Cache

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close Your name Your email Suggestion*

Cancel

Description

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.

Properties Property Description expirationDelay The number of seconds that an AssetBundle may remain unused in the cache before it is automatically deleted. 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. Public Methods Method Description ClearCache Removes all cached content in the cache that has been cached by the current application.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4