Version: 5.5 (switch to 5.6b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUserBuildSettings.webPlayerOfflineDeployment

public static bool webPlayerOfflineDeployment;

Description

Build the webplayer along with the UnityObject.js file (so it doesn't need to be downloaded).

Note that WebPlayer is not supported from 5.4 and onwards.