Caching.MarkAsUsed 标记为已使用

static function MarkAsUsed (url : String, version : int) : boolean

Description描述

Bumps the timestamp of a cached file to be the current time.

标记一个缓存文件到当前的时间。

This allows you to keep files in the cache even if you are not explicitly loading them. Returns true if the url is cached.

这允许在缓存中保留文件,即使没有显式加载它们。如果url被缓存,返回true。

最后修改:2011年9月16日 Friday 12:10

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。