Version: Unity 6.3 LTS (6000.3)
LanguageEnglish
  • C#

EditorUserSettings

class in UnityEditor

/

Inherits from:Object

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

Class for accessing and modifying Editor user settings related to version control and asset import.

Use the properties of this class to define local Editor user settings, which you can exclude from version control.

Static Properties

Property Description
allowAsyncStatusUpdateAllow version control status updates to be performed asynchronously.
artifactGarbageCollectionControl whether artifact garbage collection is performed when the Editor starts up.
AutomaticAddAutomatically add new assets to version control when they are created or imported.
compressAssetsOnImportEnable or disable texture compression during asset import.
desiredImportWorkerCountThe desired number of processes to use when importing assets, during an Asset Database refresh.
hierarchyOverlayIconsDisplay version control status icons in the Hierarchy window.
idleImportWorkerShutdownDelayMillisecondsTime in milliseconds that the Editor waits before shutting down idle import workers.
otherOverlayIconsDisplay version control status icons in windows other than the Project and Hierarchy windows.
overlayIconsDisplay version control status icons in the Project window.
overwriteFailedCheckoutAssetsAutomatically overwrite assets that failed to checkout from version control when saving or importing.
scanLocalPackagesOnConnectEnable or disable scanning of local packages when connecting to the Package Manager.
semanticMergeModeDefines the semantic merge mode used by the version control system.
showFailedCheckoutDisplay assets that failed to checkout from version control with a special icon in the Project window.
standbyImportWorkerCountNumber of import workers that the import pipeline will keep standby for future imports.
WorkOfflineEnable or disable working offline with version control.

Inherited Members

Properties

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

Public Methods

MethodDescription
GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

Static Methods

MethodDescription
DestroyRemoves a GameObject, component, or asset.
DestroyImmediateDestroys the specified object immediately. Use with caution and in Edit mode only.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindAnyObjectByTypeRetrieves any active loaded object of Type type.
FindFirstObjectByTypeRetrieves the first active loaded object of Type type.
FindObjectsByTypeRetrieves a list of all loaded objects of Type type.
InstantiateClones the object original and returns the clone.
InstantiateAsyncCaptures a snapshot of the original object (that must be related to some GameObject) and returns the AsyncInstantiateOperation.

Operators

OperatorDescription
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.