Caching.Authorize 授权

static function Authorize (name : string, domain : string, size : long, signature : string) : bool

Parameters参数

Description描述

Authorize this unity content to use caching.

授权这个Unity内容使用缓存。

If you have a caching license, call this function at startup with the parameters given to you by Unity Technologies to enable it. Starting with Unity 3.2, unlicensed content will still be able to make use of the Caching functionality, but it will use a 50 MB cache folder shared with all other unlicensed content.

如果你有一个缓存许可证,在启动时调用这个函数,带有给定参数通过Unity技术来启用它。在Unity 3.2,无许可证的内容仍然可以使用缓存功能,但是所有无许可证的内容将使用50MB的共享文件夹。

• static function Authorize (name : string, domain : string, size : long, expiration : int, signature : string) : bool

 

Page last updated: 2011-4-5