Version: 2021.2
LanguageEnglish
  • C#

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

The UnityEditor assembly implements the editor-specific APIs in Unity. It cannot be referenced by runtime code compiled into players.

Classes

AddAndRemoveRequestRepresents an asynchronous request to add package dependencies to the project and/or remove package dependencies from the project.
AddedComponentClass with information about a component that has been added to a Prefab instance.
AddedGameObjectClass with information about a GameObject that has been added as a child under a Prefab instance.
AddRequestRepresents an asynchronous request to add a package to the project.
AdvancedDropdownInherit from this class to implement your own drop-down control.
AdvancedDropdownItemItems that build the drop-down list.
AdvancedDropdownStateThe state of the drop-down. This Object can be serialized.
AdvertisementSettingsEditor API for the Unity Services editor feature. Normally UnityAds is enabled from the Services window, but if writing your own editor extension, this API can be used.
AnalyticsSettingsEditor API for the Unity Services editor feature. Normally Analytics is enabled from the Services window, but if writing your own editor extension, this API can be used.
AndroidAssetPackImporterRepresents an Android asset pack directory in a project.
AnimationClipCurveDataAn AnimationClipCurveData object contains all the information needed to identify a specific curve in an AnimationClip. The curve animates a specific property of a component / material attached to a game object / animated bone.
AnimationMode AnimationMode is used by the AnimationWindow to store properties modified by the AnimationClip playback.
AnimationModeDriver AnimationMode uses AnimationModeDriver to identify the animation driver.
AnimationUtilityEditor utility functions for modifying animation clips.
AnimationWindowUse the AnimationWindow class to select and edit Animation clips.
AnimatorControllerThe Animator Controller controls animation through layers with state machines, controlled by parameters.
AnimatorControllerLayerThe Animation Layer contains a state machine that controls animations of a model or part of it.
AnimatorStateStates are the basic building blocks of a state machine. Each state contains a Motion ( AnimationClip or BlendTree) which will play while the character is in that state. When an event in the game triggers a state transition, the character will be left in a new state whose animation sequence will then take over.
AnimatorStateMachineA graph controlling the interaction of states. Each state references a motion.
AnimatorStateTransitionTransitions define when and how the state machine switch from one state to another. AnimatorStateTransition always originate from an Animator State (or AnyState) and have timing parameters.
AnimatorTransitionTransitions define when and how the state machine switch from on state to another. AnimatorTransition always originate from a StateMachine or a StateMachine entry. They do not define timing parameters.
AnimatorTransitionBaseBase class for animator transitions. Transitions define when and how the state machine switches from one state to another.
AnimBoolLerp from 0 - 1.
AnimFloatAn animated float value.
AnimQuaternionAn animated Quaternion value.
AnimVector3An animated Vector3 value.
ArcHandleA class for a compound handle to edit an angle and a radius in the Scene view.
ArrayEntries<T0>An abstract helper class that provides methods to retrieve arrays of data elements of a generic type.
ArrayUtilityHelpers for builtin arrays.
AssemblyClass that represents an assembly compiled by Unity.
AssemblyBuilderCompiles scripts outside the Assets folder into a managed assembly that can be used inside the Assets folder.
AssemblyDefinitionExceptionAn exception throw for Assembly Definition Files errors.
AssemblyReloadEventsThis class has event dispatchers for assembly reload events.
AssetThis class containes information about the version control state of an asset.
AssetBundleInfoContainer for holding asset loading information for an AssetBundle to be built.
AssetDatabaseAn Interface for accessing assets and performing operations on assets.
AssetImportContextDefines the import context for scripted importers during an import event.
AssetImporterBase class from which asset importers for specific asset types derive.
AssetImporterEditorDefault editor for all asset importer settings.
AssetListA list of version control information about assets.
AssetLoadInfoContainer for holding preload information for a given serialized Asset.
AssetModificationProcessorAssetModificationProcessor lets you hook into saving of serialized assets and scenes which are edited inside Unity.
AssetPostprocessorAssetPostprocessor lets you hook into the import pipeline and run scripts prior or after importing assets.
AssetPreviewUtility for fetching asset previews by instance ID of assets, See AssetPreview.GetAssetPreview. Since previews are loaded asynchronously methods are provided for requesting if all previews have been fully loaded, see AssetPreview.IsLoadingAssetPreviews. Loaded previews are stored in a cache, the size of the cache can be controlled by calling [AssetPreview.SetPreviewTextureCacheSize].
AssetSettingsProviderAssetSettingsProvider is a specialization of the SettingsProvider class that converts legacy settings to Unified Settings. Legacy settings include any settings that used the Inspector to modify themselves, such as the *.asset files under the ProjectSettings folder. Under the hood, AssetSettingsProvider creates an Editor for specific Assets and builds the UI for the Settings window by wrapping the Editor.OnInspectorGUI function.Internally we use this class to wrap our existing settings.
AttacherHelper object that attaches a visual element next to its target, regarless of their respective location in the visual tree hierarchy.
AudioCurveRenderingAntialiased curve rendering functionality used by audio tools in the editor.
AudioImporterAudio importer lets you modify AudioClip import settings from editor scripts.
AuthorInfoIdentifies the author of a package.
BaseAnimValue<T0>Abstract base class for Animated Values.
BaseAnimValueNonAlloc<T0>Abstract base class that provides an allocation free version of BaseAnimValue.
BaseCompositeField<T0,T1,T2> This is the base class for the composite fields.
BaseFieldMouseDragger Provides the base class for field mouse draggers.
BaseMaskField<T0> Base class implementing the shared functionality for editing bit mask values.
BasePopupField<T0,T1> This is the base class for all the popup field elements. TValue and TChoice can be different, see MaskField, or the same, see PopupField
BindingExtensions Provides VisualElement extension methods that implement data binding between INotivyValueChanged fields and SerializedObjects.
BlackboardGraphElement that enables user to dynamically define members of a Graph (such as fields/properties) grouped by sections (BlackboardSection).
BlackboardFieldGraphElement that represents a field of a Graph.
BlackboardRowCollapsible GraphElement that represents a row in a BlackboardSection.
BlackboardSectionGraphElement that represents a section of members in a Blackboard.
BlendTreeBlend trees are used to blend continuously animation between their childs. They can either be 1D or 2D.
BoundsField A Bounds editor field.
BoundsIntField A BoundsInt editor field.
BoxBoundsHandleA compound handle to edit a box-shaped bounding volume in the Scene view.
BuildFailedExceptionAn exception class that represents a failed build.
BuildPipelineLets you programmatically build players or AssetBundles which can be loaded from the web.
BuildPlayerContextGet a BuildPlayerContext object from a BuildPlayerProcessor.PrepareForBuild callback.
BuildPlayerProcessorExtend BuildPlayerProcessor to receive callbacks during a player build.
BuildPlayerWindowThe default build settings window.
BuildReferenceMapContainer for holding information about where objects will be serialized in a build.
BuildReportThe BuildReport API gives you information about the Unity build process.
BuildUsageCacheCaching object for the Scriptable Build Pipeline.
BuildUsageTagSetContainer for holding information about how objects are being used in a build.
BuildUtilitiesUtility class that allows packages to register build callbacks with the Unity Package Manager.
CallbackOrderAttributeBase class for Attributes that require a callback index.
CameraDescriptionRepresents camera information from an imported file.
CameraEditorUnity Camera Editor.
CameraEditorUtilsUtilities for cameras.
CanEditMultipleObjectsAttribute used to make a custom editor support multi-object editing.
CapsuleBoundsHandleA compound handle to edit a capsule-shaped bounding volume in the Scene view.
ChangeSetWrapper around a changeset description and ID.
ChangeSetsA list of the ChangeSet class.
ChannelClientChannelClient is a WebSocket client that connects to Unity's ChannelService, which is a WebSocket server.
ChannelServiceThe ChannelService encapsulates a WebSocket server running in Unity.
ClickSelectorSelects element on single click.
ClientUse the Unity Package Manager Client class to manage the packages used in a project.
CloudProjectSettingsUse this class to retrieve information about the currently selected project and the current Unity ID that is logged in.
ClutchShortcutAttributeAttribute used to register a static method as the action for a clutch shortcut.
CodeEditorHandles interaction with the code editor.
CollectImportedDependenciesAttributeUse this method attribute to specify which methods declare dependancies on imported assets. The methods are called by AssetDatabase during import.
ColorField Makes a field for selecting a color.
ColorPickerHDRConfigUsed as input to ColorField to configure the HDR color ranges in the ColorPicker.
CommonRolesThis class provides constant values for some of the common roles used by files in the build. The role of each file in the build is available in BuildFile.role.
CompilationPipelineMethods and properties for script compilation pipeline.
ComputeShaderImporterDefine compute shader import settings in the Unity Editor.
ConfigFieldDescribes the configuration fields of the version control that the user has selected in the Unity Editor.
ConnectedPlayerInformation of the connected player.
ConnectionEntriesA class that houses data entries related to Connection data, returned by PackedMemorySnapshot.connections.
ContentBuildInterfaceLow level interface for building content for Unity.
ContentDraggerManipulator that allows mouse-dragging of one or more elements.
ContentZoomerManipulator that allows zooming in GraphView.
CrashReportingSettingsEditor API for the Unity Services editor feature. Normally CrashReporting is enabled from the Services window, but if writing your own editor extension, this API can be used.
CurveField Makes a field for editing an AnimationCurve.
CustomEditorTells an Editor class which run-time type it's an editor for.
CustomEditorForRenderPipelineAttributeTells an Editor class which run-time type it's an editor for when the given RenderPipeline is activated.
CustomObjectIndexerAttributeAllows a user to register a custom Indexing function for a specific type.
CustomPreviewAttributeAdds an extra preview in the Inspector for the specified type.
CustomPropertyDrawerTells a custom PropertyDrawer or DecoratorDrawer which run-time Serializable class or PropertyAttribute it's a drawer for.
DecoratorDrawerBase class to derive custom decorator drawers from.
DefaultAssetDefaultAsset is used for assets that do not have a specific type (yet).
DefaultLightingExplorerExtensionDefault definition for the Lighting Explorer. Can be overridden completely or partially.
DefaultPresetSelectorReceiverBasic implementation of the PresetSelectorReceiver.
DependencyInfoA descriptor that stores one of a template Scene's dependency Assets, and specifies whether to clone or reference it when the template is instantiated.
DeviceSimulatorClass for interacting with a Device Simulator window from a script.
DeviceSimulatorPluginExtend this class to create a Device Simulator plug-in.
DidReloadScriptsAdd this attribute to a method to get a notification after scripts have been reloaded.
DoubleField Makes a text field for entering doubles.
DragAndDropEditor drag & drop operations.
DraggerBase manipulator for mouse-dragging elements.
DrawGizmoThe DrawGizmo attribute allows you to supply a gizmo renderer for any Component.
EdgeThe GraphView edge element.
EdgeConnectorManipulator for creating new edges.
EdgeConnector<T0>Manipulator for creating new edges.
EdgeControlVisualElement that draws the edge lines and detects if mouse is on top of edge.
EdgeDragHelperEdgeDragHelper's constructor.
EdgeDragHelper<T0>Edge drag helper class.
EdgeManipulatorEdge manipulator used to drag edges off ports and reconnect them elsewhere.
EditorDerive from this base class to create a custom inspector or editor for your custom object.
EditorAnalyticsEditor API for the EditorAnalytics feature.
EditorAnalyticsSessionInfoProvides access to Editor Analytics session information.
EditorApplicationMain Application class.
EditorBuildSettingsThis class allows you to modify the Editor Build Settings via script. See EditorBuildSettings.scenes for an example of how to use this class.See Also: EditorBuildSettingsScene, EditorBuildSettings.scenes.
EditorBuildSettingsSceneThis class is used for entries in the Scenes list, as displayed in the Build Settings window. This class contains the Scene path of a Scene and an enabled flag that indicates wether the Scene is enabled in the BuildSettings window or not.You can use this class in combination with EditorBuildSettings.scenes to populate the list of Scenes included in the build via script. This is useful when creating custom editor scripts to automate your build pipeline.See EditorBuildSettings.scenes for an example script.
EditorCameraUtilsUtilities for Camera rendering in the Editor.
EditorConnectionHandles the connection from the Editor to the Player.
EditorGraphicsSettingsEditor-specific script interface for Graphics Settings.
EditorGUIThese work pretty much like the normal GUI functions - and also have matching implementations in EditorGUILayout.
EditorGUILayoutAuto laid out version of EditorGUI.
EditorGUIUtilityMiscellaneous helper stuff for EditorGUI.
EditorJsonUtilityUtility functions for working with JSON data and engine objects.
EditorPrefsStores and accesses Unity editor preferences.
EditorSceneManagerScene management in the Editor.
EditorSettingsUser settings for Unity Editor.
EditorSnapSettingsControl the behavior of handle snapping in the editor.
EditorStylesCommon GUIStyles used for EditorGUI controls.
EditorToolUse this class to implement editor tools. This is the base class from which all editor tools are inherited.
EditorToolAttributeRegisters an EditorTool as either a Global tool or a Component tool for a specific target type.
EditorToolbarButtonA clickable button used with EditorToolbarElementAttribute.
EditorToolbarDropdownA clickable dropdown used with EditorToolbarElementAttribute.
EditorToolbarDropdownToggleA control that is both a toggle and a dropdown used with EditorToolbarElementAttribute.
EditorToolbarElementAttributeThe EditorToolbarElement attribute allows you to make available a specific VisualElement for use in an Editor Toolbar.
EditorToolbarToggleA toggle used with EditorToolbarElementAttribute.
EditorToolbarUtilityEditor utility functions when working with EditorToolbar.
EditorToolContextUse this class to implement specialized versions of the built-in transform tools. Built-in transform tools include Move, Rotate, Scale, Rect, and Transform.
EditorToolContextAttributeRegisters an EditorToolContext as either a global context or a Component context for a specific target type.
EditorUserBuildSettingsUser build settings for the Editor
EditorUtilityEditor utility functions.
EditorWindowDerive from this class to create an editor window.
EditorWindowTitleAttributeUse this class to set title text and icon for an Editor window.
EmbedRequestRepresents an asynchronous request to embed a package inside a project.
EnumField Makes a dropdown for switching between enum values.
EnumFlagsField Makes a dropdown for switching between enum flag values that are marked with the Flags attribute.
ErrorStructure describing the error of a package operation.
EventsAn Interface for accessing the package manager events.
EventServiceThe EventService is a singleton implementation of a ChannelClient that runs on all instances of Unity. It is connected to the "events" channel and allows a Unity instance to send JSON messages to other EventServices in external process, or other instances of Unity.
ExpressionEvaluatorEvaluates simple math expressions; supports int / float and operators: + - * / % ^ ( ).
FBXMaterialDescriptionPreprocessorThis is a default implementation for AssetPostProcessor.OnPreprocessMaterialDescription, this implementation converts material descriptions imported from FBX assets into materials for the internal rendering pipeline.
FieldDescriptionEntriesA class that houses Field Description entry data, returned by PackedMemorySnapshot.fieldDescriptions.
FieldMouseDragger<T0> Provides dragging on a visual element to change a value field.
FilePathAttributeAn attribute that specifies a file location relative to the Project folder or Unity's preferences folder. See Also: Location.
FileUtilLets you do move, copy, delete operations over files or directories.
FloatField Makes a text field for entering a float.
FrameDataViewBase funtionality for accessing the Profiler data.
FreehandSelectorFreehand selection tool.
FuzzySearchProvides a method to match query text using a fuzzy search algorithm.
GameObjectRecorderRecords the changing properties of a GameObject as the Scene runs and saves the information into an AnimationClip.
GameObjectToolContextThis class represents the default context for manipulation tools. When GameObjectToolContext is active, manipulation tools affect the transform property of GameObjects in the SceneView Selection.
GameObjectUtilityGameObject utility functions.
GCHandleEntriesA class that houses GCHandle data. Returned by PackedMemorySnapshot.gcHandles.
GenericMenuGenericMenu lets you create custom context menus and dropdown menus.
GitInfoIdentifies a specific revision for a Git package using a Git commit hash.
GradientField Makes a field for editing an Gradient.
GraphElementBase class for main GraphView VisualElements.
GraphElementScopeExtensionsSet of extension methods useful for Scope.
GraphViewMain GraphView class.
GraphViewBlackboardWindowThe base class for a floating window that contains a Blackboard.
GraphViewEditorWindowAbstract base class for an editor window that contains a GraphView.
GraphViewMinimapWindowA floating window containing a MiniMap.
GraphViewToolWindowAbstract base class for a GraphView tool window.
GridBackgroundDefault GraphView background.
GridPaletteGridPalette stores settings for Palette assets when shown in the Palette window.
GroupAllows interactive insertion of elements in a named scope.
GUIDrawerBase class for PropertyDrawer and DecoratorDrawer.
HandlesCustom 3D GUI controls and drawing in the Scene view.
HandleUtilityHelper functions for Scene View style 3D GUI.
Hash128Field Makes a field for editing an Hash128.
HelpHelper class to access Unity documentation.
HierarchyFrameDataViewProvides access to the Profiler data for a specific frame and thread.
HighlighterUse this class to highlight elements in the editor for use in in-editor tutorials and similar.
HyperLinkClickedEventArgsArguments for the event EditorGUI.hyperLinkClicked.
IconBadgeA rectangular badge, usually attached to another visual element.
IHVImageFormatImporterUse IHVImageFormatImporter to modify Texture2D import settings for Textures in IHV (Independent Hardware Vendor) formats such as .DDS and .PVR from Editor scripts.
Il2CppBuildPipelineDataContains information for various IIl2CppProcessor callbacks.
IMGUIOverlayIMGUIOverlay is an implementation of Overlay that provides a IMGUIContainer.
InitializeOnEnterPlayModeAttributeAllow an editor class method to be initialized when Unity enters Play Mode.
InitializeOnLoadAttributeAllows you to initialize an Editor class when Unity loads, and when your scripts are recompiled.
InitializeOnLoadMethodAttributeAllow an editor class method to be initialized when Unity loads without action from the user.
InspectorElement Create a VisualElement inspector from a SerializedObject.
InstantiationResultA class that holds the data created when a SceneTemplateAsset is instantiated.
IntegerField Makes a text field for entering an integer.
iOSDeviceRequirementA device requirement description used for configuration of App Slicing.
JointAngularLimitHandleA class for a compound handle to edit multiaxial angular motion limits in the Scene view.
L10nClass for text localization.
LayerField A LayerField editor.
LayerMaskField Make a field for layer as masks.
LicensingUtilityUse the Licensing Utility class to request user permissions. User permissions are referred to as entitlements. Entitlements are simple strings. For example, "com.unity.editor.ui".
LightDescriptionRepresents light information from an imported file.
LightEditorThe class used to render the Light Editor when a Light is selected in the Unity Editor.
LightingDataAssetThe lighting data asset used by the active Scene.
LightingExplorerExtensionAttributeAn attribute to mark an extension class for the Lighting Explorer. Supports one extension per render pipeline.
LightingExplorerTabCreate custom tabs for the Lighting Explorer.
LightingExplorerTableColumnThis is used when defining how a column should look and behave in the Lighting Explorer.
LightingWindowEnvironmentSectionBase class for the Inspector that overrides the Environment section of the Lighting window.
LightmapEditorSettingsThis class is now obsolete. Use LightingSettings.
LightmapParametersConfigures how Unity bakes lighting and can be assigned to a LightingSettings instance or asset.
LightmappingAllows to control the lightmapping job.
LightmappingExperimental lightmapping features.
ListRequestRepresents an asynchronous request to list the packages in the project.
LocalizationAttributeAn attribute to the assembly for Localization.
LocalizationGroupThis provides an auto dispose Localization system. This can be called recursively.
LODUtilityLOD Utility Helpers.
LongField Makes a text field for entering long integers.
MainStageThe Main Stage contains all the currently open regular Scenes and is always available.
ManagedDebuggerRepresentation of managed debugger in UnityEditor.
ManagedMemorySectionEntriesA class that houses MemorySection data, returned by PackedMemorySnapshot.managedHeapSections and PackedMemorySnapshot.managedStacks.
MaskField Make a field for masks.
MaterialDescriptionContains a set of typed properties for describing a texture input of a MaterialDescription.
MaterialEditorThe Unity Material Editor.
MaterialEditorExtensionsExtension methods for the Material asset type in the editor.
MaterialPropertyDescribes information and value of a single shader property.
MaterialPropertyDrawerBase class to derive custom material property drawers from.
MediaEncoderEncodes images and audio samples into an audio or movie file.
MemorySnapshotMemorySnapshot is a profiling tool to help diagnose memory usage.
MenuMenu class to manipulate the menu item.
MenuCommandUsed to extract the context for a MenuItem.
MenuItemThe MenuItem attribute allows you to add menu items to the main menu and inspector context menus.
MeshPreviewUse this class to render an interactive preview of a mesh.
MeshUtilityVarious utilities for mesh manipulation.
MessageMessages from the version control system.
MiniMapMiniMap.
ModelImporterModel importer lets you modify model import settings from editor scripts.
ModelImporterClipAnimationAnimation clips to split animation into.
MonoImporterRepresents a C# script in the project.
MonoScriptRepresentation of Script assets.
MultiColumnHeaderThe MultiColumnHeader is a general purpose class that e.g can be used with the TreeView to create multi-column tree views and list views.
MultiColumnHeaderStateState used by the MultiColumnHeader.
NativeAllocationEntriesA class that houses native allocation entry data, returned by PackedMemorySnapshot.nativeAllocations.
NativeAllocationSiteEntriesA class that houses native allocation site entries, returned by PackedMemorySnapshot.nativeAllocationSites.
NativeCallstackSymbolEntriesA class housing native callstack symbol data, returned by PackedMemorySnapshot.nativeCallstackSymbols.
NativeMemoryLabelEntriesA class that houses native memory label data, returned by PackedMemorySnapshot.nativeMemoryLabels.
NativeMemoryRegionEntriesA class housing native memory region data, returned by PackedMemorySnapshot.nativeMemoryRegions.
NativeObjectEntriesA class that houses native object data, returned by PackedMemorySnapshot.nativeObjects.
NativeRootReferenceEntriesA class that houses native root reference data, returned by PackedMemorySnapshot.rootReferences.
NativeTypeEntriesA class that houses native type entries, returned by PackedMemorySnapshot.nativeTypes.
NavMeshBuilderNavigation mesh builder interface.
NavMeshEditorHelpersNavMesh utility functionality effective only in the Editor.
NavMeshVisualizationSettingsRepresents the visualization state of the navigation debug graphics.
NodeMain GraphView node class.
ObjectChangeEventsExposes events that allow you to track undoable changes to objects in the editor.
ObjectFactoryUse the DefaultObject to create a new UnityEngine.Object in the editor.
ObjectField Makes a field to receive any object type.
ObjectFlagsExtensionsAn extension class that contains member functions to ObjectFlags.
ObjectIndexerA specialized SearchIndexer which provides methods to index a Unity Object from custom indexers.
ObjectNamesHelper class for constructing displayable names for objects.
ObjectOverrideClass with information about an object on a Prefab instance with overridden properties.
ObjectPreviewBase Class to derive from when creating Custom Previews.
ObjectSelectorEngineAttributeUse this class attribute to register ObjectSelector search engines automatically. Search engines with this attribute must implement the IObjectSelectorEngine interface.
ObjectSelectorSearchUse this API to select objects. Engines for this type of search implement the IObjectSelectorEngine interface.
ObjectSelectorSearchContextA search context implementation for ObjectSelector search engines. All methods that are called on an ObjectSelector search engine, and expect a ISearchContext, receive an object of this type.
OverlayOverlays are persistent and customizable panels and toolbars that are available within Editor Windows. Use Overlays to expose actions and tool options in a convenient and user-controllable way.
OverlayAttributeAttribute used to register a class as an overlay.
PackageCollectionA collection of PackageInfo objects.
PackageInfoStructure describing a Unity Package.
PackageManagerExtensionsPackage Manager UI Extensions.
PackageRegistrationEventArgsStructure describing the PackageInfo entries to register or unregister during the Package Manager registration process.
PackedAssetsAn extension to the BuildReport class that tracks how Assets contribute to the size of the build.
PackedMemorySnapshotPackedMemorySnapshot is a compact representation of a memory snapshot.
PackedMemorySnapshotPackedMemorySnapshot is a compact representation of a memory snapshot that a player has sent through the profiler connection.
PackerSprite Packer helpers.
PackerJobCurrent Sprite Packer job definition.
PackOperationResultStructure describing the result of a Client.Pack operation.
PackRequestRepresents an asynchronous request to pack a package folder.
PerformanceReportingSettingsNormally performance reporting is enabled from the Services window, but if writing your own editor extension, this API can be used.
PhysicsDebugWindowDisplays the Physics Debug Visualization options.The Physics Debug Visualization is only displayed if this window is visible.See Also: PhysicsVisualizationSettings.
PhysicsVisualizationSettingsThis class contains the settings controlling the Physics Debug Visualization.
PillThe Pill class includes methods for creating and managing a VisualElement that resembles a capsule. The Pill class includes text, an icon, and two optional child VisualElements: one to the left of the pill, and one to the right of the pill.
PlacematAllows interactive manipulation of elements (drag, hide) over a virtual placemat.
PlacematContainerThe GraphView layer for placemats.
PlatformIconIcon slot container.
PlatformIconKindIcon kind wrapper.
PlayableOutputEditorExtensionsEditor extensions for all types that implement IPlayableOutput.
PlayerBuildInterfaceLow level interface for building scripts for Unity.
PlayerConnectionGUIThis class contains methods to draw IMGUI Editor UI that relates to the Player Connection.
PlayerConnectionGUILayoutThis class contains methods to draw and automatically layout IMGUI Editor UI that relates to the Player Connection.
PlayerConnectionGUIUtilityMiscellaneous helper methods for PlayerConnectionGUI.
PlayerSettingsPlayer Settings is where you define various parameters for the final game that you will build in Unity. Some of these values are used in the Resolution Dialog that launches when you open a standalone game.
PluginThe plug-in class describes the currently active version control plug-in and its configuration options.
PluginImporterRepresents a plugin importer.
PopupField<T0> Generic popup selection field.
PopupWindowClass used to display popup windows that inherit from PopupWindowContent.
PopupWindowContentClass used to implement content for a popup window.
PortGraphView Port class.
PortSource<T0>Port source.
PostProcessBuildAttributeAdd this attribute to a method to get a notification just after building the player.
PostProcessSceneAttributeAdd this attribute to a method to get a notification just after building the Scene.
PrecompiledAssemblyExceptionAn exception throw for Precompiled Assembly errors.
PrefabOverrideClass with information about a given override on a Prefab instance.
PrefabStageThe PrefabStage class represents an editing context for Prefab Assets.
PrefabStageUtilityUtility methods related to Prefab stages.
PrefabUtilityUtility class for any Prefab related operations.
PreloadInfoContainer for holding a list of preload objects for a Scene to be built.
PresetA Preset contains default values for an Object.
PresetSelectorThis class implements a modal window that selects a Preset asset from the Project.
PresetSelectorReceiverImplement this class to control the selection change when selecting a Preset in the PresetSelector.
PreviewSceneStageThe PreviewSceneStage class represents an editing context based on a single preview Scene.
PrimitiveBoundsHandleBase class for a compound handle to edit a bounding volume in the Scene view.
ProcessService*This is an experimental feature.* The ProcessService allows you to start slave instance of UnityEditor, opened to the same Project as the master instance, with a specific RoleProviderAttribute.
ProfilerEditorUtilityA Utility class for Profiler tooling in the Unity Editor.
ProfilerModuleRepresents a Profiler module in the Profiler window.
ProfilerModuleMetadataAttributeProvides metadata related to a ProfilerModule, such as its name and icon path.
ProfilerModuleViewControllerProvides a single view of content for a ProfilerModule displayed in the Profiler window.
ProfilerTimeSampleSelectionAn object describing a selection made in a frame time sample based Profiler module.
ProfilerWindowUse the ProfilerWindow class for interactions with the Profiler Window such as checking which frame it currently shows and controlling the selected Profiler sample in the CPU or GPU Usage Modules.
ProgressThe Progress utility class reports the progress of asynchronous tasks to Unity.
ProjectSearchUse this API to perform searches in the Project. Engines for this type of search implement the IProjectSearchEngine interface.
ProjectSearchContextA search context implementation for Project search engines. All methods that are called on a Project search engine, and expect a ISearchContext, receive an object of this type.
ProjectSearchEngineAttributeA class attribute that registers Project search engines automatically. Search engines with this attribute must implement the IProjectSearchEngine interface.
PropertyDrawerBase class to derive custom property drawers from. Use this to create custom drawers for your own Serializable classes or for script variables with custom PropertyAttributes.
PropertyField A SerializedProperty wrapper VisualElement that, on Bind(), will generate the correct field elements with the correct bindingPaths.
PropertyModificationDefines a single modified property.
ProviderThis class provides access to the version control API.
PurchasingSettingsEditor API for the Unity Services editor feature. Normally Purchasing is enabled from the Services window, but if writing your own editor extension, this API can be used.
Query<T0,T1>Provides methods to define an operation that can be used to filter a data set.
Query<T0>Provides methods to define an operation that can be used to filter a data set.
QueryEngineA QueryEngine defines how to build a query from an input string. It can be customized to support custom filters and operators. Default query engine of type object.
QueryEngine<T0>A QueryEngine defines how to build a query from an input string. It can be customized to support custom filters and operators.
QueryEngineFilterAttributeBase attribute class used to define a custom filter on a QueryEngine. All filter types supported by QueryEngine.AddFilter are supported by this attribute.
QueryEngineParameterTransformerAttributeBase attribute class that defines a custom parameter transformer function.
QueryErrorA QueryError holds the definition of a query parsing error.
QueryGraphClass that represents a query graph.
RawFrameDataViewProvides access to the Profiler data for a specific frame and thread.
RectangleSelectorRectangle selection box manipulator.
RectField A Rect editor field.
RectIntField A RectInt editor field.
RectUtilsUtilities for rectangle selections.
RegistryInfoProvides information about a package registry.
RemovedComponentClass with information about a component that has been removed from a Prefab instance.
RemoveRequestRepresents an asynchronous request to remove a package from the project.
RenderPipelineEditorUtilityHelper class that contains a utility function on ScriptableRenderPipeline for Editor.
RepositoryInfoIncludes information about the repository that hosts the package.
RequestTracks the state of an asynchronous Unity Package Manager (Upm) server operation.
Request<T0>Tracks the state of an asynchronous Unity Package Manager (Upm) server operation that returns a non-empty response.
ResetToEditorDefaultsRequestRepresents an asynchronous request to reset the project packages to the current Editor default configuration.
ResizableElementInstantiates a [ResizableElement] that you add as a child of the [VisualElement] that you want to resize.
ResizerResizer manipulator element.
ResponseFileDataData class used for storing parsed response file data.
RoleProviderAttributeAn attribute used to decorate function that defines how a slave process can interact with a main instance of Unity.
RunAfterAssemblyAttributeAdd this attribute to a callback method to mark that this callback must be run after any callbacks that are part of the specified assembly.
RunAfterClassAttributeAdd this attribute to a callback method to mark that this callback must be run after any callbacks that are part of the specified class.
RunAfterPackageAttributeAdd this attribute to a callback method to mark that this callback must be run after any callbacks that are part of the specified package.
RunBeforeAssemblyAttributeAdd this attribute to a callback method to indicate that this callback must be run before any callbacks that are part of the specified assembly.
RunBeforeClassAttributeAdd this attribute to a callback method to mark that this callback must be run before any callbacks that are part of the specified class.
RunBeforePackageAttributeAdd this attribute to a callback method to mark that this callback must be run before any callbacks that are part of the specified package.
SceneAssetSceneAsset is used to reference Scene objects in the Editor.
SceneBundleInfoContainer for holding asset loading information for a streamed Scene AssetBundle to be built.
SceneCullingMasksMasks that control what kind of Scene views and Game views Unity should render a GameObject in.
SceneLoadInfoContainer for holding preload information for a given serialized Scene in an AssetBundle.
SceneQueryEngineFilterAttributeCustom attribute is used to customize the search engine used by the scene search provider.
SceneQueryEngineParameterTransformerAttributeAttribute class that defines a custom parameter transformer function applied for a query running in a scene provider defined by a scene custom filter using SceneQueryEngineFilterAttribute.
SceneSearchUse this API to perform searches in the Scene. Engines for this type of search implement the ISceneSearchEngine interface.
SceneSearchContextA search context implementation for Scene search engines. All methods that are called on a Scene search engine, and expect a ISearchContext, receive an object of this type.
SceneSearchEngineAttributeA class attribute that registers Scene search engines automatically. Search engines with this attribute must implement the ISceneSearchEngine interface.
SceneSetupThe setup information for a Scene in the SceneManager. This cannot be used in Play Mode.
ScenesUsingAssetsAn extension to the BuildReport class that tracks which scenes in the build have references to a specific asset in the build.
SceneTemplateAssetAn Asset that stores everything required to instantiate a new Scene from a templated Scene.
SceneTemplatePipelineAdapterAn adapter that implements all the functions of ISceneTemplatePipeline for easier usage. Use it to partially override a ISceneTemplatePipeline.
SceneTemplateServiceA utility class that manages SceneTemplateAsset instantiation.
SceneViewUse this class to manage SceneView settings, change the SceneView camera properties, subscribe to events, call SceneView methods, and render open scenes.
SceneViewCameraWindowUse this class to instantiate a SceneViewCameraWindow window.
SceneVisibilityManagerManages Scene Visibility in the editor.
ScopeThis class allows for nodes to be grouped into a common area, or Scope. This class includes methods that automatically resize and position the Scope to encompass the group of nodes.
ScriptableBakedReflectionSystemEmpty implementation of IScriptableBakedReflectionSystem.
ScriptableBakedReflectionSystemSettingsGlobal settings for the scriptable baked reflection system.
ScriptableRenderPipelineExtensionAttributeUse this attribute to apply a condition to a filter that finds the class based on which ScriptableRenderPipeline you are currently using.
ScriptableSingleton<T0>Generic class for storing Editor state.
ScriptableWizardDerive from this class to create an editor wizard.
ScriptCompilerOptionsCompiler options passed to the script compiler.
ScriptedImporterAbstract base class for custom Asset importers.
ScriptedImporterAttributeClass attribute used to register a custom asset importer derived from ScriptedImporter with Unity's Asset import pipeline.
ScriptedImporterEditorDefault editor for source assets handled by Scripted Importers.
SearchActionDefines an action that can be applied on a SearchItem of a specific search provider type.
SearchActionsProviderAttributeAttribute used to declare a static method that defines new actions for specific search providers.
SearchColumnSearch columns are used to display additional information in the Search Table view.
SearchColumnProviderAttributeThe search column provider attribute is used to define new formats for a given column.
SearchContextThe search context includes all the data necessary to perform a query. It allows the full customization of how a query may be performed.
SearchFieldThe SearchField control creates a text field for a user to input text that can be used for searching.
SearchFieldBase<T0,T1> The base class for a search field.
SearchIndexerBase class for a document Indexer which provides methods for retrieving a document given a specific pattern in roughly log(n). This allows you to search a large index more quickly.
SearchItemSearch items are returned by the search provider to show to the user after a search is performed. The search item holds all the data that is used to sort and present the search results. Some members of a SearchItem can be specified in an asynchronous callback (see SearchItem.fetchThumbnail, SearchItem.fetchDescription, etc).
SearchItemProviderAttributeAttribute used to declare a static method that will create a new search provider at load time.
SearchProviderSearchProvider manages search for specific types of items and manages all fields of a SearchItem such as thumbnails, descriptions, subfilters.
SearchQueryErrorRepresents a query parsing error.
SearchRequestRepresents an asynchronous request to find a package.
SearchSelectionProvides methods to give readonly access to the current list of selected items in Search.
SearchSelectorAttributeSearch selector attribute used to define how a custom value can be selected from a search item.
SearchServicePrincipal Search API to initiate searches and fetch results.
SearchTreeEntryThis class describes a search tree entry. The search window displays search tree entries in the GraphView.
SearchTreeGroupEntryThis class describes group entries in the search tree. The search tree is displayed in the search window.
SearchUtilsProvides various utility functions that are used by SearchProvider.
SearchViewStateSearch view state is used to create new Search windows. See SearchService.ShowWindow.
SearchWindowThis subclass displays a searchable menu of available graph nodes.
SelectionAccess to the selection in the editor.
SelectionDraggerSelection dragger manipulator.
SelectionDropperSelection drag&drop manipulator.
SerializationInfoContainer for holding object serialization order information for a build.
SerializationUtilityUtility functions related to Serialization.
SerializedObjectSerializedObject and SerializedProperty are classes for editing serialized fields on Unity objects in a completely generic way. These classes automatically handle dirtying individual serialized fields so they will be processed by the Undo system and styled correctly for Prefab overrides when drawn in the Inspector.
SerializedObjectChangeEvent An event sent when any value in a SerializedObject changes
SerializedPropertySerializedProperty and SerializedObject are classes for editing properties on objects in a completely generic way that automatically handles undo, multi-object editing and Prefab overrides.
SerializedPropertyChangeEvent An event sent when a value in a PropertyField changes.
SessionStateSessionState is a Key-Value Store intended for storing and retrieving Editor session state that should survive assembly reloading.
SettingsProviderSettingsProvider is the configuration class that specifies how a Project setting or a preference should appear in the Settings or Preferences window.
SettingsProviderAttributeAttribute used to register a new SettingsProvider. Use this attribute to decorate a function that returns an instance of a SettingsProvider. If the function returns null, no SettingsProvider appears in the Settings window.
SettingsProviderGroupAttributeAttribute used to register multiple SettingsProvider items. Use this attribute to decorate a function that returns an array of SettingsProvider instances. If the function returns null, no SettingsProvider appears in the Settings window.
SettingsServiceThis class provides global APIs to interact with the Settings window.
ShaderDataThis class describes a shader.
ShaderGUIAbstract class to derive from for defining custom GUI for shader properties and for extending the material preview.
ShaderImporterShader importer lets you modify shader import settings from Editor scripts.
ShaderIncludeShader include file asset.
ShaderUtilUtility functions to assist with working with shaders from the editor.
ShortcutAttributeAttribute used to register a static method as the action for an action shortcut.
ShortcutBaseAttributeAbstract base class for ShortcutAttribute and ClutchShortcutAttribute.
ShortcutHandlerShortcut handler.
ShortcutManagerProvides access to an instance of IShortcutManager for managing shortcuts.
SketchUpImporterDerives from AssetImporter to handle importing of SketchUp files.
SketchupMaterialDescriptionPreprocessorThis is a default implementation for AssetPostProcessor.OnPreprocessMaterialDescription, this implementation converts material descriptions imported from Sketchup assets into materials for the internal rendering pipeline.
SourceTextureInformationOriginal texture data information.
SpeedTreeImporterAssetImportor for importing SpeedTree model assets.
SphereBoundsHandleA compound handle to edit a sphere-shaped bounding volume in the Scene view.
SpriteAtlasAssetSpriteAtlasAsset stores inputs for generating SpriteAtlas and generates atlas textures on Import.
SpriteAtlasExtensionsMethod extensions for SpriteAtlas in Editor.
SpriteAtlasImporterSpriteAtlasImporter imports SpriteAtlasAsset and generates SpriteAtlas.
SpriteAtlasUtilityUtility methods to pack atlases in the Project.
SpriteEditorExtension Sprite extension methods that are accessible in Editor only.
SpriteUtilityHelper utilities for accessing Sprite data.
StackNodeUse this class to customize StackNodes and to manage dragging GraphElements over StackNodes.
StageThe Stage class represents an editing context which includes a collection of Scenes.
StageUtilityUtility methods related to stages.
StateMachineBehaviourContextThis class contains all the owner's information for this State Machine Behaviour.
StaticOcclusionCullingStaticOcclusionCulling lets you perform static occlusion culling operations.
StaticOcclusionCullingVisualizationUsed to visualize static occlusion culling at development time in Scene view.
StickyNoteInstantiates a [GraphElement] used for comment text.
StickyNoteChangeEventThe event sent when a [StickyNote] was changed.
StrippingInfoThe StrippingInfo object contains information about which native code modules in the engine are still present in the build, and the reasons why they are still present.
SysrootBase class for implementing sysroots and toolchains for IL2CPP
TagField A TagField editor.
TaskA Task describes an instance of a version control operation.
TerrainInspectorUtilityUtility class for Terrain Inspector GUI.
TerrainLayerInspectorThe default Inspector class for Terrain Layer.
TerrainLayerUtilityA set of helper functions for using terrain layers.
TerrainPaintTool<T0>Base class for terrain painting tools.
TerrainPaintUtilityEditorTerrain paint utility editor helper functions.
TerrainToolShortcutContextThe shortcut context that is active while editing Terrain.
TextureGeneratorExperimental utilities for generating Texture2D.
TextureImporterTexture importer lets you modify Texture2D import settings from editor scripts.
TextureImporterPlatformSettingsStores platform specifics settings of a TextureImporter.
TextureImporterSettingsStores settings of a TextureImporter.
TextValueField<T0> Base class for text fields.
TextValueFieldTraits<T0,T1> Specifies the TextValueField's UxmlTraits.
ThreeDSMaterialDescriptionPreprocessorThis is a default implementation for AssetPostProcessor.OnPreprocessMaterialDescription, this implementation converts material descriptions imported from .3DS assets into materials for the internal rendering pipeline.
TokenNodeThe TokenNode class includes methods for creating and managing a Node that resembles a capsule. The TokenNode class includes a title, an icon, one input Port, and one output Port.
ToolAttributeBase class from which EditorToolAttribute and EditorToolContextAttribute inherit.
Toolbar A toolbar for tool windows.
ToolbarBreadcrumbs Creates a breadcrumb UI element for the toolbar to help users navigate a hierarchy. For example, the visual scripting breadcrumb toolbar makes it easier to explore scripts because users can jump to any level of the script by clicking a breadcrumb item.
ToolbarButton A button for the toolbar.
ToolbarMenu A drop-down menu for the toolbar.
ToolbarMenuElementExtensions An extension class that handles menu management for elements that are implemented with the IToolbarMenuElement interface, but are identical to DropdownMenu.
ToolbarOverlay ToolbarOverlay is an implementation of Overlay that provides a base for Overlays that can be placed in horizontal or vertical toolbars.
ToolbarPopupSearchField The pop-up search field for the toolbar. The search field includes a menu button.
ToolbarSearchField A search field for the toolbar.
ToolbarSpacer A toolbar spacer of static size.
ToolbarToggle A toggle for the toolbar.
ToolManagerThis class manipulates editor tools in the Scene view.
ToolsClass used to manipulate the tools used in Unity's Scene View.
TransformUtilsEditor Transform Utility Class.
TreeViewThe TreeView is an IMGUI control that lets you create tree views, list views and multi-column tables for Editor tools.
TreeViewItemThe TreeViewItem is used to build the tree representation of a tree data structure.
TreeViewStateThe TreeViewState contains serializable state information for the TreeView.
TrueTypeFontImporterAssetImporter for importing Fonts.
TypeCacheProvides methods for fast type extraction from asssemblies loaded into the Unity Domain.
TypeDBContainer for holding information about script type and property data.
TypeDescriptionEntriesA class that houses type description entries, returned from PackedMemorySnapshot.typeDescriptions.
TypeFlagsExtensionsAn extension class that contains member functions to TypeFlags.
UndoLets you register undo operations on specific objects you are about to perform changes on.
UnityEventToolsEditor tools for working with persistent UnityEvents.
UnityLinkerBuildPipelineDataContains information for various IUnityLinkerProcessor callbacks.
UnwrappingThis class holds everything you may need in regard to uv-unwrapping.
UtilityEditor utility functions for the Playable graph and its nodes.
UxmlNamespacePrefixAttribute Attribute that can be used on an assembly to define an XML namespace prefix for a namespace.
Vector2Field A Vector2 editor field.
Vector2IntField A Vector2Int editor field.
Vector3Field A Vector3 editor field.
Vector3IntField A Vector3Int editor field.
Vector4Field A Vector4 editor field.
VersionControlAttributeAllows you to mark a class as a version control system object.
VersionControlDescriptorContains unique version control system name.
VersionControlManagerManages version control systems.
VersionControlObjectThe abstract base class for representing a version control system.
VersionControlUtilsContains version control system specific utility methods.
VersionsInfoIdentifies the available versions of a package and which are the compatible, latest, and recommended versions.
VideoClipImporterVideoClipImporter lets you modify VideoClip import settings from Editor scripts.
VideoImporterTargetSettingsImporter settings that can have platform-specific values.
WriteCommandContainer for holding information about a serialized file to be written.

Structs

ActiveProfileChangedEventArgsProvides data for the IShortcutManager.activeProfileChanged event.
AlbedoSwatchInfoContains the custom albedo swatch data.
AnimatorConditionCondition that is used to determine if a transition must be taken.
ArtifactIDUniquely identifies a produced artifact such as an imported asset (e.g. result of importing a texture).
ArtifactKeyAn ArtifactKey is used for specifying an artifact to lookup or produce.
AssemblyDefinitionPlatformContains information about a platform supported by the assembly definition files.
AssetBundleBuildAssetBundle building map entry.
AtlasSettingsDescribes the final atlas texture.
AudioImporterSampleSettingsThis structure contains a collection of settings used to define how an AudioClip should be imported.This structure is used with the AudioImporter to define how the AudioClip should be imported and treated during loading within the Scene.
AudioTrackAttributesDescriptor for audio track format.
BuildFileContains information about a single file produced by the build process.
BuildPlayerOptionsProvide various options to control the behavior of BuildPipeline.BuildPlayer.
BuildSettingsStruct containing information on how to build content.
BuildStepContains information about a single step in the build process.
BuildStepMessageContains information about a single log message recorded during the build process.
BuildSummaryContains overall summary information about a build.
BuildUsageTagGlobalContainer for holding information about lighting information being used in a build.
CacheServerConnectionChangedParametersStruct used for AssetDatabase.cacheServerConnectionChanged.
CameraProjectionCacheProject points from world to screen space.
ChangeAssetObjectPropertiesEventArgsA change of this type indicates that a property of an asset object in memory has changed. This happens for example when Undo.RecordObject is used with an instance of an asset (e.g. Texture).
ChangeGameObjectOrComponentPropertiesEventArgsA change of this type indicates that a property of a GameObject or Component has changed. This happens for example when Undo.RecordObject is used with an instance of a Component.
ChangeGameObjectParentEventArgsA change of this type indicates that the parent of a GameObject has changed. This happens when Undo.SetTransformParent or SceneManager.MoveGameObjectToScene is used.
ChangeGameObjectStructureEventArgsA change of this type indicates that the structure of a GameObject has changed. This happens when a component is added to or removed from the GameObject using Undo.AddComponent or Undo.DestroyObjectImmediate.
ChangeGameObjectStructureHierarchyEventArgsA change of this type indicates that the structure of a GameObject has changed and any GameObject in the hierarchy below it might have changed. This happens for example when Undo.RegisterFullObjectHierarchyUndo is used.
ChangeSceneEventArgsA change of this type indicates that an open scene has been changed ("dirtied") without any more specific information available. This happens for example when EditorSceneManager.MarkSceneDirty is used.
ChannelClientInfoA structure that contains all of a ChannelClient's connection data.
ChannelClientScopeScope that can be use to open a channel client on a specific channel and close the channel when the scope ends.
ChannelInfoA structure that contains the connection information of a Channel in ChannelService.
ChannelScopeScope that cna be use to open a channel and that will close the channel when the scope ends.
ChildAnimatorStateStructure that represents a state in the context of its parent state machine.
ChildAnimatorStateMachineStructure that represents a state machine in the context of its parent state machine.
ChildMotionStructure that represents a motion in the context of its parent blend tree.
ClipAnimationInfoCurveStores a curve and its name that will be used to create additionnal curves during the import process.
CompilerMessageCompiler Message.
ConnectionA pair of from and to indices describing what thing keeps what other thing alive.
ContentBuildProfileEventDetails about a profile event captured using the ContentBuildInterface.BeginProfileCapture and ContentBuildInterface.EndProfileCapture APIs.
CreateAssetObjectEventArgsA change of this type indicates that an asset object has been created. This happens for example when Undo.RegisterCreatedObjectUndo is used with an instance of an asset (e.g. Texture).
CreateGameObjectHierarchyEventArgsA change of this type indicates that a GameObject has been created, possibly with additional objects below it in the hierarchy. This happens for example when Undo.RegisterCreatedObjectUndo is used with a GameObject.
CurveFilterOptionsThe keyframe reduction settings for compressing animation curves.
CustomObjectIndexerTargetRepresents a descriptor for the object that is about to be indexed. It stores a reference to the object itself as well as an already set up SerializedObject.
DefaultPresetThis structure defines a default Preset. See Preset.GetDefaultListForType and Preset.SetDefaultListForType for usage.
DependencyInfoStructure describing dependencies to other packages in PackageInfo.
DestroyAssetObjectEventArgsA change of this type indicates that an asset object has been destroyed. This happens for example when Undo.DestroyObjectImmediate is used with an instance of an asset (e.g. Texture).
DestroyGameObjectHierarchyEventArgsA change of this type indicates that a GameObject and the entire hierarchy below it has been destroyed. This happens for example when Undo.DestroyObjectImmediate is used with an GameObject.
DragAndDropWindowTargetIDs for core windows. These are used by the DragAndDrop.RemoveHandler API.
EditorCurveBindingDefines how a curve is attached to an object that it controls.
FieldDescriptionDescription of a field of a managed type.
GameManagerDependencyInfoContains dependency information for internal Unity game manager classes. Call ContentBuildInterface.WriteGameManagersSerializedFile or ContentBuildInterface.CalculatePlayerDependenciesForGameManagers to get an instance of this class.
GlobalObjectIdStruct providing an API for stable, project-global object identifiers.
GraphViewChangeSet of changes in the graph that can be intercepted.
H264EncoderAttributesDescriptor for H.264 encoder attributes.
KeyCombinationRepresents a combination of a non-modifier key and zero or more modifier keys.
ManagedReferenceMissingTypeRepresents a managed reference object that has a missing type.
MediaRationalRational number useful for expressing fractions precisely.
MediaTimeTime representation for use with media containers.
MemorySectionA dump of a piece of memory from the player that's being profiled.
NamedBuildTargetBuild Target by name.
NodeCreationContextThis struct represents the context when the user initiates creating a graph node.
ObjectChangeEventStreamRepresents a stream of events that describes the changes applied to objects in memory over the course of a frame.
ObjectIdentifierStruct that identifies a specific object project wide.
ObjectSerializedInfoStruct containing details about how an object was serialized.
PackedAssetInfoContains information about a single packed Asset.
PackedGCHandleA description of a GC handle used by the virtual machine.
PackedNativeTypeA description of a C++ unity type.
PackedNativeUnityEngineObjectDescription of a C++ unity object in memory.
ParseResult<T0>A ParseResult represents the result of a parsing operation.
PresetTypeStores a type to which a Preset can be applied.
ProfilerCategoryInfoCategory information descriptor structure.
ProfilerCounterDescriptorProvides a descriptor for a Profiler counter.
QueryFilterOperatorA QueryFilterOperator defines a boolean operator between a value returned by a filter and an operand inputted in the search query.
QueryGraphOptimizationOptionsStructure containing the different options used to optimize a query graph.
QueryTokenRepresents a token of a query string.
QueryValidationOptionsStruct containing the available query validation options.
ResourceFileDetails about a specific file written by the ContentBuildInterface.WriteSerializedFile or ContentBuildInterface.WriteSceneSerializedFile APIs.
SampleStruct for Package Sample.
SceneDependencyInfoScene dependency information generated from the ContentBuildInterface.PrepareScene API.
SceneStateHashThis class contains hashes that represents the Scene state.
ScenesUsingAssetContains information about which scenes in a build have references to an Asset in the build.
ScriptCompilationResultStruct with result information returned from the PlayerBuildInterface.CompilePlayerScripts API.
ScriptCompilationSettingsStruct containing information on how to build scripts.
SearchColumnCompareArgsSearch column compare arguments are used by SearchColumn.comparer to sort search results.
SearchColumnEventArgsSearch column event arguments are used by SearchColumn.getter, SearchColumn.drawer and SearchColumn.setter delegates.
SearchDocumentRepresents a searchable document that has been indexed.
SearchPropositionSearch propositions are used to display choices to the user to add new filters to a search query.
SearchResultContains a SearchItem that was retrieved from a query.
SearchSelectorArgsSearch selector arguments used when the search selector callback is invoked.
SearchValueSearch value is used to extend a query engine with custom type parsers and filters to search results by value.
SearchWindowContextThis structure includes parameters for configuring the search window.
SerializedLocationStruct containing information about where an object was serialized.
ShaderCompilerDataCollection of data used for shader variants generation, including targeted platform data and the keyword set representing a specific shader variant.
ShaderInfoContains the following information about a shader: -If the shader has compilation errors or warnings. -If the shader is supported on the currently selected platform. -The name of the shader.
ShaderMessageContains information about messages generated by Unity's Shader Compiler.
ShaderSnippetDataCollection of properties about the specific shader code being compiled.
ShortcutArgumentsProvides data for shortcut action methods invoked by the shortcut system.
ShortcutBindingRepresents a key binding used to trigger a shortcut.
ShortcutBindingChangedEventArgsProvides data for the IShortcutManager.shortcutBindingChanged event.
SketchUpImportCameraStructure to hold camera data extracted from a SketchUp file.
SketchUpImportSceneStructure to hold scene data extracted from a SketchUp file.
SpriteAtlasPackingSettingsSettings to use during the packing process for this SpriteAtlas.
SpriteAtlasTextureSettingsTexture settings for the packed texture generated by SpriteAtlas.
SpriteImportDataStruct that represents how Sprite asset should be generated when calling TextureGenerator.GenerateTexture.
SpriteMetaDataEditor data used in producing a Sprite.
StageHandleStruct that represents a stage handle.
TakeInfoA Takeinfo object contains all the information needed to describe a take.
TextureGenerationOutputStructure that represents the result from calling TextureGenerator.GenerateTexture.
TextureGenerationSettingsRepresents how a texture should be generated from calling TextureGenerator.GenerateTexture.
TexturePropertyDescriptionContains a set of typed properties for describing a texture input of a MaterialDescription.
TierSettingsA struct that represents graphics settings for a given build target and graphics tier.
TouchEventRepresentation of a single touch event coming from a Device Simulator. Subscribe to DeviceSimulator.touchScreenInput to receive these events.
TypeDescriptionDescription of a managed type.
UndoPropertyModificationSee Also: Undo.postprocessModifications.
UnwrapParamUnwrapping settings.
UpdatePrefabInstancesEventArgsA change of this type indicates that prefab instances in an open scene have been updated due to a change to the source prefab.
VideoTrackAttributesDescriptor for audio track format.
VideoTrackEncoderAttributesDescriptor for video track format.
VirtualMachineInformationInformation about the virtual machine running executing the managed code inside the player.
VirtualMachineInformationInformation about a virtual machine that provided a memory snapshot.
VP8EncoderAttributesDescriptor for VP8 encoder attributes.
WriteManagerParametersDefines the write parameters for the ContentBuildInterface.WriteGameManagersSerializedFile function.
WriteParametersThis struct collects all the WriteSerializedFile parameters in to a single place.
WriteResultStruct containing the results from the ContentBuildPipeline.WriteSerialziedFile and ContentBuildPipeline.WriteSceneSerialziedFile APIs.
WriteSceneParametersThis struct collects all the WriteSceneSerializedFile parameters in to a single place.

Enumerations

ActionOnDotNetUnhandledExceptionThe behavior in case of unhandled .NET exception.
AndroidArchitectureAndroid CPU architecture.
AndroidBlitTypeDescribes the method for how content is displayed on the screen.
AndroidBuildSystemType of Android build system.
AndroidBuildTypeBuild configurations for the generated project.
AndroidCreateSymbolsDefines the options available for choosing the type of symbol file to create in an Android build.
AndroidETC2FallbackThis enumeration has values for different qualities to decompress ETC2 textures on Android devices that don't support the ETC2 texture format.
AndroidETC2FallbackOverrideThis enumeration has values for different qualities to decompress an ETC2 texture on Android devices that don't support the ETC2 texture format.
AndroidGamepadSupportLevelGamepad support level for Android TV.
AndroidPreferredInstallLocationPreferred application install location.
AndroidSdkVersionsAPI levels that can be specified in scripts. Note that the lowest API level here strictly corresponds to the lowest supported API level, however these values should not be used to determine the highest supported API level.
AndroidShowActivityIndicatorOnLoadingApplication should show ActivityIndicator when loading.
AndroidSplashScreenScaleAndroid splash screen scale modes.
AndroidTargetDevicesDefines the types of devices on which an Android application is allowed to run. Used for the PlayerSettings.Android.androidTargetDevices property.
AnimatorConditionModeThe mode of the condition.
AnimatorLayerBlendingModeSpecifies how the layer is blended with the previous layers.
ApiCompatibilityLevel.NET API compatibility level.
AppleMobileArchitectureApple Mobile CPU architecture.
AscentCalculationModeMethod used for calculating a font's ascent.
AspectRatioAspect ratio.
AssembliesTypeFlags for Assembly.
AssemblyBuilderFlagsFlags used by AssemblyBuilder to control assembly build.
AssemblyBuilderStatusStatus of the AssemblyBuilder build.
AssemblyDefinitionReferenceTypeAssembly definition file reference type.
AssemblyFlagsFlags for Assembly.
AssetDeleteResultResult of Asset delete operation
AssetMoveResultResult of Asset move
AssetPathToGUIDOptionsAsset path to GUID options.
AssetPipelineModeSelects the Assetpipeline mode to use.
AudioSampleRateSettingThe sample rate setting used within the AudioImporter. This defines the sample rate conversion of audio on import.
BlendTreeTypeThe type of blending algorithm that the blend tree uses.
BrushGUIEditFlagsFlags that specify which brush controls the [IOnInspectorGUI.ShowBrushesGUI] method displays.
BuildAssetBundleOptionsAsset Bundle building options.
BuildOptionsBuilding options. Multiple options can be combined together.
BuildResultDescribes the outcome of the build process.
BuildTargetTarget build platform.
BuildTargetGroupBuild target group.
CacheServerModeSelects the cache server configuration mode.
CanAppendBuildWhether you can append an existing build using BuildOptions.AcceptExternalModificationsToPlayer.
CapabilitiesCapabilities used by Manipulators to easily determine valid actions on a GraphElement.
CheckoutModeWhat to checkout when starting the Checkout task through the version control Provider.
ClipAnimationMaskTypeAnimationClip mask options for ModelImporterClipAnimation.
CodeOptimizationCode optimization mode defines whether UnityEditor compiles scripts in Debug or Release mode.
CompilerMessageTypeCompiler message type.
CompletionActionDifferent actions a version control task can do upon completion.
ContentBuildFlagsBuild options for content.
D3D11FullscreenModeDirect3D 11 fullscreen mode.
DeltaSpeed Speed at which the value changes for a given input device delta.
DependencyTypeDependency calculation flags to control what is returned, and how it operates.
DialogOptOutDecisionTypeThe type of opt-out decision a user can make.
DirectionPort direction (in or out).
DisplayModeOptions for setting the display mode to use for a search view.
DragAndDropVisualModeVisual indication mode for Drag & Drop operation.
DrawCameraModeDrawing modes for Handles.DrawCamera.
EditorSelectedRenderStateThe editor selected render mode for Scene View selection.
EditorSkinEnum that selects which skin to return from EditorGUIUtility.GetBuiltinSkin.
EnterPlayModeOptionsDetermines the flags for the Enter Play Mode Options in the Unity Editor.
ErrorCodePackage operation Error.
EventDataSerializationThe Serialization type for sending a message, with arguments, using the EventService. For more information about argument serialization, see ChannelService.Broadcast and ChannelService.Emit.
EventPropagationValue that determines if a event handler stops propagation of events or allows it to continue.
ExportPackageOptionsExport package option. Multiple options can be combined together using the | operator.
FetchPreviewOptionsOptions for the search provider on how the preview should be fetched.
FileModeMode of the file.
FileTypeEnum description of the type of file an object comes from.
FontRenderingModeFont rendering mode constants for TrueTypeFontImporter.
FontTextureCaseTexture case constants for TrueTypeFontImporter.
ForceReserializeAssetsOptionsOptions for AssetDatabase.ForceReserializeAssets.
GizmoTypeDetermines how a gizmo is drawn or picked in the Unity editor.
GraphicsJobModeEnum used to specify the graphics jobs mode to use.
HierarchyDropFlagsDefine how dragged objects should be dropped relative to already existing Hierarchy items.
HighlightSearchModeUsed to specify how to find a given element in the editor to highlight.
IconKindIcon kind.
IconOverlayTypeType of icon overlay.
Il2CppCodeGenerationOptions to control code generation for IL2CPP compiler.
Il2CppCompilerConfigurationC++ compiler configuration used when compiling IL2CPP generated code.
ImportAssetOptionsAsset importing options.
IndexingOptionsUse Indexing options to specify the contents of your search index.
InteractionModeThe mode of interaction, user or automated, that an API method is called with.
iOSAppInBackgroundBehaviorApplication behavior when entering background.
iOSBackgroundModeBackground modes supported by the application corresponding to project settings in Xcode.
iOSLaunchScreenImageTypeiOS launch screen settings.
iOSLaunchScreenTypeiOS launch screen settings.
iOSSdkVersionSupported iOS SDK versions.
iOSShowActivityIndicatorOnLoadingActivity Indicator on loading.
iOSStatusBarStyleiOS status bar style.
iOSTargetDeviceTarget iOS device.
LayoutPossible layouts for an overlay.
LogLevelDescribes different levels of log information the Package Manager supports.
MacFullscreenModeMac fullscreen mode.
ManagedStrippingLevelDefines how aggressively Unity strips unused managed (C#) code.
MeshOptimizationFlagsOptions to control the optimization of mesh data during asset import.
MessageTypeUser message types.
MobileTextureSubtargetCompressed texture format for target build platform.
ModelImporterAnimationCompressionAnimation compression options for ModelImporter.
ModelImporterAnimationTypeAnimation mode for ModelImporter.
ModelImporterAvatarSetupSet the Avatar generation mode for ModelImporter.
ModelImporterGenerateAnimationsAnimation generation options for ModelImporter. These options relate to the legacy Animation system, they should only be used when ModelImporter.animationType==ModelImporterAnimationType.Legacy.
ModelImporterHumanoidOversamplingHumanoid Oversampling available multipliers.
ModelImporterIndexFormatFormat of the imported mesh index buffer data.
ModelImporterMaterialImportModeMaterial import options for ModelImporter.
ModelImporterMaterialLocationMaterial import options for ModelImporter.
ModelImporterMaterialNameMaterial naming options for ModelImporter.
ModelImporterMaterialSearchMaterial search options for ModelImporter.
ModelImporterMeshCompressionMesh compression options for ModelImporter.
ModelImporterNormalCalculationModeNormal generation options for ModelImporter.
ModelImporterNormalsNormal generation options for ModelImporter.
ModelImporterNormalSmoothingSourceSource of smoothing information for calculation of normals in ModelImporter.
ModelImporterSecondaryUVMarginMethodMethods for handling margins during lightmap UV generation in ModelImporter.
ModelImporterSkinWeightsSkin weights options for ModelImporter.
ModelImporterTangentsVertex tangent generation options for ModelImporter.
ModelImporterTangentSpaceModeTangent space generation options for ModelImporter.
MouseCursorCustom mouse cursor shapes used with EditorGUIUtility.AddCursorRect.
NewSceneModeUsed when creating a new Scene in the Editor.
NewSceneSetupUsed when creating a new Scene in the Editor.
NormalMapEncodingDescribes the encoding of normal maps.
ObjectChangeKindThis enumeration describes the different kind of changes that can be tracked in an ObjectChangeEventStream. Each event has a corresponding type in ObjectChangeEvents.
ObjectFlagsFlags that can be set on a Native Object.
OnlineStateRepresent the connection state of the version control provider.
OnOpenAssetAttributeModeIndicates whether OnOpenAssetAttribute decorated method is a validation function that checks if asset opening is handled by Unity or a custom script.
OpenSceneModeUsed when opening a Scene in the Editor to specify how a Scene should be opened.
OrientationGraph element orientation.
OverrideTextureCompressionSets which texture compression override to use when importing assets.
PackageSourceSource of packages.
PauseStateEnumeration specifying the current pause state of the Editor.See Also: PlayModeStateChange, EditorApplication.pauseStateChanged, EditorApplication.isPaused.
PivotModeWhere is the tool handle placed.
PivotRotationHow is the tool handle oriented.
PlayerConnectionInitiateModeDescribes how the player connects to the Editor.
PlayModeStateChangeEnumeration specifying a change in the Editor's play mode state.See Also: PauseState, EditorApplication.playModeStateChanged, EditorApplication.isPlaying.
PrefabAssetTypeEnum indicating the type of Prefab Asset, such as Regular, Model and Variant.
PrefabInstanceStatusEnum with status about whether a Prefab instance is properly connected to its asset.
PrefabUnpackModeEnum used to determine how a Prefab should be unpacked.
PreprocessorOverrideSets the preprocessor that Unity uses to compile this shader.
ProcessEventEnum that represents the events a RoleProvider can receive.
ProcessLevelThe type of the current process. It can be a Unity master instance, or a secondary instance connected to the master.
ProcessStateDescribes the state of a specifc UnityEditor process.
ProfileCaptureOptionsOptions for filtering captured profile events using the ContentBuildInterface.BeginProfileCapture and ContentBuildInterface.EndProfileCapture APIs.
ProfileEventTypeOptions for labelling captured profile events using the ContentBuildInterface.BeginProfileCapture and ContentBuildInterface.EndProfileCapture APIs.
ProfilerModuleChartTypeOptions for a Profiler module’s chart type.
ProvisioningProfileTypeThe type of the iOS provisioning profile if manual signing is used.
PS4BuildSubtargetType of build to generate.
QueryNodeTypeOptions for representing the query node types.
ReferencesOptionsOptions to control the Unity References to other assembly definition files that Unity uses during compilation.
RefreshFlagsRefresh flags are used to indicate why search view needs to be refreshed or updated.
RemoveAssetOptionsOptions for removing assets
RepaintFlagsFlags that indicate what to repaint on the Terrain tools.
RequestScriptCompilationOptionsOptions for specifying the behavior of CompilationPipeline.RequestScriptCompilation.
ResizerDirectionEnum that specifies in which direction to resize the element.
ResolveMethodHow assets should be resolved.
RevertModeDefines the behaviour of the version control revert methods.
ScriptCallOptimizationLevelScript call optimization level.
ScriptCompilationOptionsScript compilation options.
ScriptingImplementationScripting implementation (backend).
SearchColumnFlagsSearch column flags are used to set multiple states.
SearchEngineScopeAn enumeration that contains the available search engine scopes.
SearchFlagsSearch options used to fetch items. Mostly with SearchContext to specify how a search should be handled.
SearchItemOptionsIndicates how the search item description needs to be formatted when presented to the user.
SearchQueryErrorTypeEnum representing the possible types of query errors.
SelectionModeSelectionMode can be used to tweak the selection returned by Selection.GetTransforms.
SemanticMergeModeBehavior of semantic merge.
SerializedPropertyTypeType of a SerializedProperty.
SettingsScopeSets the scope of a SettingsProvider. The Scope determines where it appears in the UI. For example, whether it appears with the Project settings in the Settings window, or in the Preferences window, or in both windows.
ShaderCompilerMessageSeverityIndicates the severity of a message returned by the Unity Shader Compiler.
ShaderCompilerPlatformShader compiler used to generate player data shader variants.
ShaderPrecisionModelOptions for the shader precision model.
ShaderQualityShader quality preset.
ShaderRequirementsShader features required by a specific shader. Features are bit flags.
ShaderTypeIdentifies the stage in the rendering pipeline.
ShortcutModifiersRepresents modifier keys for use in a shortcut binding.
ShortcutStageRepresents the stage at which a shortcut action was invoked.
ShowDetailsOptionsDefines what details are shown in the preview inspector panel for the search view.
SpriteImportModeTexture importer modes for Sprite import.
SpritePackerModeSprite Packer mode for the current project.
StandaloneBuildSubtargetDesktop platform subtarget type.
StaticEditorFlagsDescribes which Unity systems consider the GameObject as static, and include the GameObject in their precomputations in the Unity Editor.
StatusCodeUnity Package Manager operation status.
StatusQueryOptionsOptions for querying the version control system status of a file.
StereoRenderingPathEnum used to specify what stereo rendering path to use.
StickyNoteChangeEnum that specifies the type of change to the [StickyNote].
StickyNoteFontSizeEnum used to describe the font size used by the [StickyNote].
StickyNoteThemeEnum used to describe the visual theme used by the [StickyNote].
StrippingLevelManaged code stripping level.
SubmitResultThe status of an operation returned by the VCS.
TemplateInstantiationModeAn enumeration of options for handling a Scene dependency Asset when you instantiate a SceneTemplateAsset.
TerrainBrushPreviewModeEnum to specify whether DrawBrushPreview previews the source render texture or the destination render texture of a PaintContext.
TextCursorPlacementWhere to place the cursor in the text. (see ISearchView.SetSearchText).
TextureCompressionQualityCompression Quality.
TextureImporterAlphaSourceSelect how the alpha of the imported texture is generated.
TextureImporterCompressionSelect the kind of compression you want for your texture.
TextureImporterCubemapConvolutionDefines Cubemap convolution mode.
TextureImporterFormatImported texture format for TextureImporter.
TextureImporterGenerateCubemapCubemap generation mode for TextureImporter.
TextureImporterMipFilterMip map filter for TextureImporter.
TextureImporterNormalFilterNormal map filtering mode for TextureImporter.
TextureImporterNPOTScaleScaling mode for non power of two textures in TextureImporter.
TextureImporterRGBMModeRGBM encoding mode for HDR textures in TextureImporter.
TextureImporterShapeThe shape of the imported texture.
TextureImporterSingleChannelComponentSelects which Color/Alpha channel Single Channel Textures uses.
TextureImporterTypeSelect this to set basic parameters depending on the purpose of your texture.
TextureResizeAlgorithmFor Texture to be scaled down choose resize algorithm. ( Applyed only when Texture dimension is bigger than Max Size ).
ToolWhich tool is active in the editor.
TouchPhaseIndicates where in its lifecycle a given touch is.
TransitionInterruptionSourceWhich AnimatorState transitions can interrupt the Transition.
TreeViewSelectionOptionsEnum used by the TreeView.SetSelection method.
tvOSSdkVersionSupported tvOS SDK versions.
TypeFlagsAn enum encoding information for a type description about whether it is a value type or an array type, and the rank of the array if the type is an array. Returned by TypeDescriptionEntries.flags.
UIOrientationDefault mobile device orientation.
VertexChannelCompressionFlagsUse these enum flags to specify which elements of a vertex to compress.
VideoBitrateModeBit rate after the clip is transcoded.
VideoCodecVideo codec to use when importing video clips.
VideoDeinterlaceModeDescribes how the fields in the image, if any, should be interpreted.
VideoEncodeAspectRatioMethods to compensate for aspect ratio discrepancies between the source resolution and the wanted encoding size.
VideoEncodingProfileOptions for the encoder profile.
VideoResizeModeHow the video clip's images will be resized during transcoding.
VideoSpatialQualityControls the imported clip's internal resize to save space at the cost of blurrier images.
ViewToolEnum for Tools.viewTool.
VisibleObjectsA bit field that contains the different categories of object that the object selector window can display.
WebGLCompressionFormatAn enum containing different compression types.
WebGLDebugSymbolModeAn enum containing different modes for debug symbols.
WebGLExceptionSupportOptions for Exception support in WebGL.
WebGLLinkerTargetThe build format options available when building to WebGL.
WebGLTextureSubtargetCompressed texture format for target build platform.
WebGLWasmArithmeticExceptionsAn enum containing different trapping modes for WebAssembly code.
WSABuildAndRunDeployTargetSpecifies the Windows device to deploy and launch the UWP app on when using Build and Run from the Editor.
WSABuildTypeBuild configurations for Windows Store Visual Studio solutions.
WSAUWPBuildTypeDetermines the output build type when building to Universal Windows Platform.
XboxBuildSubtargetTarget Xbox build type.
XcodeBuildConfigBuild configurations for the Xcode project Unity generates.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961