caching.maximumavailablediskspace 最大可用磁盘空间

2015-1-4 00:17| 发布者: 杨炎| 查看: 2667| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: caching.maximumavailablediskspace 最大可用磁盘空间static varmaximumavailablediskspace: longdescription描述the total number of bytes that can potentially be allocated for caching.可能会被用于缓存,分配 ...

caching.maximumavailablediskspace 最大可用磁盘空间

static varmaximumavailablediskspace: long


the total number of bytes that can potentially be allocated for caching.


this value can be set to a smaller number in order to limit the amount of disk space used by cached assetbundles. the webplayer shared cache allows up to 50 mib of cached assetbundles. pc/mac standalone applications and ios/android applications have a limit of 4 gib. webplayer applications that make use of a dedicated cache are limited to the number of bytes specified in the caching license agreement. this property does not account for total available disk space. if a user's computer has less available disk space on the drive where the cache is located than maximumavailablediskspace, the full amount of maximumavailablediskspace will not be usable. cache storage is allocated on an as-needed basis in order to minimize disk space usage.