Version: 5.5
public static bool Authorize (string name, string domain, long size, string signature);
public static bool Authorize (string name, string domain, long size, int expiration, string signature);

パラメーター

string Unity から提供された認証のためのシグネチャ
int このキャッシュに割り当てられたバイト数

説明

これは、WebPlayer にのみ有効な関数です。

Enables a dedicated, application-specific WebPlayer cache (Dedicated WebPlayer caches require a paid license from Unity Technologies). If you have a dedicated cache license, call this function at WebPlayer application startup with the license information provided to you. Starting with the release of Unity 3.2, all WebPlayer applications have access to a 50 MiB shared cache; calling the Authorize() function is not necessary. Starting with the release of Unity 3.4, PC/Mac Standalone players and iOS/Android players have access to a 4 GiB dedicated cache for each application; calling the Authorize() function is not necessary.

5.4 以降では WebPlayer はサポートされません。