Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

EditorUserBuildSettings

class in UnityEditor

Предложить изменения

Успех!

Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.

Закрыть

Ошибка внесения изменений

По определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.

Закрыть

Отменить

Руководство

Описание

User build settings for the Editor

Статические переменные

activeBuildTargetThe currently active build target.
activeBuildTargetChangedTriggered in response to SwitchActiveBuildTarget.
activeScriptCompilationDefinesDEFINE directives for the compiler.
allowDebuggingEnable source-level debuggers to connect.
androidBuildSubtargetAndroid platform options.
buildScriptsOnlyIs build script only enabled.
compressWithPsArcBuild data compressed with PSArc.
connectProfilerStart the player with a connection to the profiler.
developmentEnables a development build.
enableHeadlessModeEnables a Linux headless build.
explicitNullChecksAre null references actively checked?
exportAsGoogleAndroidProjectExport Android Project for use wih Android Studio or Eclipse.
forceInstallationForce installation of package, even if error.
forceOptimizeScriptCompilationForce full optimizations for script complilation in Development builds.
installInBuildFolderPlace the built player in the build folder.
n3dsCreateCIAFileCreate a .cia "download image" for deploying to test kits (3DS).
needSubmissionMaterialsBuild submission materials.
ps4BuildSubtargetPS4 Build Subtarget.
psmBuildSubtargetPSM Build Subtarget.
psp2BuildSubtargetPS Vita Build subtarget.
sceBuildSubtargetSCE Build subtarget.
selectedBuildTargetGroupThe currently selected build target group.
selectedStandaloneTargetThe currently selected target for a standalone build.
streamingInstallLaunchRangeWhen building an Xbox One Streaming Install package (makepkg.exe) The layout generation code in Unity will assign each scene and associated assets to individual chunks. Unity will mark scene 0 as being part of the launch range, IE the set of chunks required to launch the game, you may include additional scenes in this launch range if you desire, this specifies a range of scenes (starting at 0) to be included in the launch set.
symlinkLibrariesSymlink runtime libraries with an iOS Xcode project.
tizenBuildSubtargetThe texture compression type to be used when building.
webGLOptimizationLevelOptimization level for WebGL.
webPlayerOfflineDeploymentBuild the webplayer along with the UnityObject.js file (so it doesn't need to be downloaded).
webPlayerStreamedSelect the streaming option for a webplayer build.
wiiUBootModeBoot mode of a devkit.
wiiUBuildDebugLevelWii U player debug level.
wiiuBuildOutputBuilt player postprocessing options.
wiiUEnableNetAPIEnable network API.
wsaGenerateReferenceProjectsGenerate and reference C# projects from your main solution.
wsaSDKTarget Windows SDK.
xboxBuildSubtargetXbox Build subtarget.
xboxOneDeployMethodThe currently selected Xbox One Deploy Method.
xboxOneNetworkSharePathNetwork shared folder path e.g. MYCOMPUTER\SHAREDFOLDER\.
xboxOneUsernameWindows account username associated with PC share folder.
xboxRunMethodSelected Xbox Run Method.

Статические функции

GetBuildLocationGet the current location for the build.
GetWSADotNetNativeIs .NET Native enabled for specific build configuration. More information - https://msdn.microsoft.com/en-us/library/dn584397(v=vs.110).aspx.
SetBuildLocationSet a new location for the build.
SetWSADotNetNativeEnables or Disables .NET Native for specific build configuration. More information - https://msdn.microsoft.com/en-us/library/dn584397(v=vs.110).aspx.
SwitchActiveBuildTargetSelect a new build target to be active.