Version: 2017.1
Removed

Caching.enabled

切换到手册
Obsolete public static bool enabled ;

描述

是否启用了缓存?

WebPlayer users may disable Caching for all WebPlayer applications by right-clicking on the WebPlayer content, selecting "Setup...", and checking the 'Disable all caching' checkbox. If caching is disabled, WWW.LoadFromCacheOrDownload() will continue to function, but will never cache downloaded AssetBundles. Caching is always enabled for PC/Mac Standalone and iOS/Android player builds.

if (!Caching.enabled)
    GUILayout.Label ("Please enable Caching for the best gameplay experience.");

5.4.0 及更高版本不支持 Web 播放器。