找回密碼
 注冊帳號

掃一掃,訪問微社區

caching.enabled 啟用

2015-1-3 23:27| 發布者: 楊炎| 查看: 1435| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: caching.enabled 啟用static varenabled: booldescription描述is caching enabled?緩存是否啟用?the user has the option to completely disable caching in unity, by right clicking on the content, and selecti ...

caching.enabled 啟用

static varenabled: bool

description描述

is caching enabled?

緩存是否啟用?

the user has the option to completely disable caching in unity, by right clicking on the content, and selecting "setup...". if caching is disabled, all caching functions will fail, and you either have to load your content with the normal www class, or display an error and refuse to run. by default, caching is enabled.

在unity,用戶可以選擇完全禁用緩存。通過在內容上右鍵點擊并選擇“setup...”。如果緩存被禁用,所有緩存功能將失敗,并且可能已經載入帶有標準www類的內容,或顯示錯誤并拒絕執行。默認,緩存是開啟的。

if (!caching.enabled)

guilayout.label("please turn on caching to run this game.");

相關閱讀

文章點評
相關文章
女校游泳队彩金