Version: 2020.1
LanguageEnglish
  • C#

EditorSettings

class in UnityEditor

/

Inherits from:Object

/

Implemented in:UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

User settings for Unity Editor.

Use EditorSettings to apply Editor Project Settings to your Unity Project. You can control settings such as version control, streaming settings, and Asset serialization.

See Also: Editor Project Settings

Static Properties

assetNamingUsesSpaceControls whether to insert a space before a number in duplicated Asset names.
assetPipelineModeSelect the assetpipeline mode.
asyncShaderCompilationEnable asynchronous Shader compilation in Game and Scene view.
cacheServerEnableAuthToggle whether to enable authentication to cache server.
cacheServerEnableDownloadToggle whether to enable downloading from cache server.
cacheServerEnableTlsToggle whether to enable TLS encryption to cache server.
cacheServerEnableUploadToggle whether to enable uploading from cache server.
cacheServerEndpointCache server endpoint IP address
cacheServerModeSelect cache server mode
cacheServerNamespacePrefixSets the namespace prefix to use for the cache server.
cachingShaderPreprocessorEnables the Caching Shader Preprocessor (experimental).
enableCookiesInLightmapperDetermines whether cookies should be evaluated by the Progressive Lightmapper during Global Illumination calculations.
enableTextureStreamingInEditModeEnable texture mipmap streaming system when in Edit Mode.
enableTextureStreamingInPlayModeEnable texture mipmap streaming system when in Play Mode.
enterPlayModeOptionsDetermines the state of the Enter Play Mode Options in the Unity Editor.
enterPlayModeOptionsEnabledDetermines whether the Enter Play Mode Options are enabled in the Unity Editor or not. (Experimental).
gameObjectNamingDigitsIndicates the amount of digits to use for the numbers in a duplicated GameoObject's name.
gameObjectNamingSchemeIndicates which naming scheme to use for duplicated GameObjects.
prefabRegularEnvironmentAllows you to specify a Scene to use as the editing environment for Prefabs.
prefabUIEnvironmentAllows you to specify a Scene to use as the editing environment for UI Prefabs.
projectGenerationBuiltinExtensionsBuilt-in list of extensions of files that will be included in the c# projects Unity generates.
projectGenerationRootNamespaceControls which root namespace gets written into the c# .csproj projects that Unity generates.
projectGenerationUserExtensionsControls list of extensions of files that will be included in the c# .csproj projects that Unity generates.
serializeInlineMappingsOnOneLineForces Unity to write references and other inline mappings on one line, to help reduce version control noise.
spritePackerPaddingPowerPower of 2 value to add a boundary (padding) to Sprites packed to the Atlas (Legacy Sprite Packer).
unityRemoteCompressionGets or sets compression method used for Unity Remote screen stream.
unityRemoteDeviceGets or sets device ID used for Unity Remote feature.
unityRemoteJoystickSourceGets or sets joystick source used in editor when Unity Remote is connected.
unityRemoteResolutionGets or sets resolution used for Unity Remote screen stream.
useLegacyProbeSampleCountEnable the legacy fixed sample counts for baking Light Probes with Progressive Lightmapper.

Inherited Members

Properties

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameThe name of the object.

Public Methods

GetInstanceIDReturns the instance id of the object.
ToStringReturns the name of the object.

Static Methods

DestroyRemoves a GameObject, component or 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.
FindObjectOfTypeReturns the first active loaded object of Type type.
FindObjectsOfTypeGets a list of all loaded objects of Type type.
InstantiateClones the object original and returns the clone.

Operators

boolDoes the object exist?
operator !=Compares if two objects refer to a different object.
operator ==Compares two object references to see if they refer to the same object.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答