Version: 2020.1
言語: 日本語

Cache

struct in UnityEngine

マニュアルに切り替える

説明

Data structure for cache. Please refer to See Also:Caching.AddCache for more information.

変数

expirationDelayAssetBundle がキャッシュから自動で削除される有効期限。秒単位で指定します。
indexReturns the index of the cache in the cache list.
maximumAvailableStorageSpaceAllows you to specify the total number of bytes that can be allocated for the cache.
pathReturns the path of the cache.
readOnlyReturns true if the cache is readonly.
readyReturns true if the cache is ready.
spaceFreeReturns the number of currently unused bytes in the cache.
spaceOccupiedReturns the used disk space in bytes.
validReturns true if the cache is valid.

Public 関数

ClearCacheRemoves all cached content in the cache that has been cached by the current application.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961