Version: 2020.3

EditorSettings

class in UnityEditor

/

다음으로부터 상속:Object

매뉴얼로 전환

설명

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

정적 변수

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.
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.
prefabModeAllowAutoSaveAllow Auto Save in Prefab Mode for this project.
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.

상속된 멤버

변수

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

Public 함수

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

정적 함수

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.

연산자

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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961