找回密碼
 注冊帳號

掃一掃,訪問微社區

caching.maximumavailablediskspace 最大可用磁盤空間

2015-1-4 00:17| 發布者: 楊炎| 查看: 2390| 評論: 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

description描述

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.

此值可設置為一個較小的數字,以限制緩存assetbundles使用的磁盤空間量。網絡播放器共享緩存允許設置到50mib來緩存資源包。pc/mac獨立版程序和ios/android程序限制為4gib。網絡播放器應用程序制作一個專用的緩存,是在緩存許可協議中指定字節數限制。這個屬性不考慮總的可用磁盤空間。如果用戶的計算機驅動器上的可用磁盤空間比maximumavailablediskspace指定的還要少,maximumavailablediskspace的滿額量將無法使用。緩存的儲存空間根據需要分配,以最大限度地減少磁盤空間的使用。

文章點評
女校游泳队彩金