EditorUserBuildSettings

class in UnityEditor

/

Hereda de:Object

Cambiar al Manual

Descripción

User build settings for the Editor

Variables Estáticas

activeBuildTargetThe currently active build target.
activeScriptCompilationDefinesDEFINE directives for the compiler.
allowDebuggingEnable source-level debuggers to connect.
androidBuildSubtargetAndroid platform options.
androidETC2FallbackETC2 texture decompression fallback on Android devices that don't support ETC2.
androidUseLegacySdkToolsUse deprecated Android SDK tools to pack application.
buildAppBundleSet to true to build an Android App Bundle (aab file) instead of an apk. The default value is false.
buildScriptsOnlyIs build script only enabled.
compressFilesInPackageCompress files in package.
compressWithPsArcBuild data compressed with PSArc.
connectProfilerStart the player with a connection to the profiler.
developmentEnables a development build.
enableHeadlessModeEnables a Linux headless build.
explicitArrayBoundsChecksAre array bounds actively validated?
explicitDivideByZeroChecksAre divide by zero's actively validated?
explicitNullChecksAre null references actively validated?
exportAsGoogleAndroidProjectExport Android Project for use with Android Studio/Gradle.
forceInstallationForce installation of package, even if error.
installInBuildFolderPlace the built player in the build folder.
iOSBuildConfigTypeScheme with which the project will be run in Xcode.
movePackageToDiscOuterEdgePlaces the package on the outer edge of the disk.
needSubmissionMaterialsBuild submission materials.
ps4BuildSubtargetPS4 Build Subtarget.
ps4HardwareTargetSpecifies which version of PS4 hardware to target.
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.
webGLUsePreBuiltUnityEngineUse prebuilt JavaScript version of Unity engine.
wsaHolographicRemotingEnable an application to connect to a remote HoloLens device and stream holographic content.
wsaSubtargetSets and gets target device type for the application to run on when building to Windows Store platform.
wsaUWPSDKSets and gets target UWP SDK to build Windows Store application against.
wsaUWPVisualStudioVersionSets and gets Visual Studio version to build Windows Store application with.
xboxBuildSubtargetXbox Build subtarget.
xboxOneDeployDriveThe currently selected Xbox One Deploy Drive.
xboxOneDeployMethodThe currently selected Xbox One Deploy Method.
xboxOneNetworkSharePathNetwork shared folder path e.g. MYCOMPUTER\SHAREDFOLDER\.
xboxOneRebootIfDeployFailsAndRetrySets the XBox to reboot and redeploy when the deployment fails.
xboxOneUsernameWindows account username associated with PC share folder.

Funciones Estáticas

GetBuildLocationGet the current location for the build.
GetPlatformSettingsReturns value for platform specifc Editor setting.
SetBuildLocationSet a new location for the build.
SetPlatformSettingsSet platform specifc Editor setting.
SwitchActiveBuildTargetSelect a new build target to be active.
SwitchActiveBuildTargetAsyncSelect a new build target to be active during the next Editor update.

Miembros heredados

Variables

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the GameObject.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.