Caching.expirationDelay 截止延迟

static var expirationDelay : int

Description描述

The number of seconds that an AssetBundle may remain unused in the cache before it is automatically deleted.

一个AssetBundle可保持在高速缓存中未使用,在自动删除之前的秒数。

This value defaults to 150 days (12,960,000 seconds). Lower values will cause the cache to be cleaned more aggressively in order to minimize disk storage usage. The delay cannot be set greater than 12,960,000 seconds.

该值默认为150天(12,960,000秒)。较低的值将会导致缓存更频繁的被清除,以减少磁盘空间的使用。该延迟不能设置大于12,960,000秒。

Page last updated: 2012-11-25