# ObjectSelectorSearchEndSessionModes

> A bit field that contains the different modes to end an Object Selector Search session.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.SearchService](/engine/6000.6/script-reference/unityeditor/searchservice.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum ObjectSelectorSearchEndSessionModes
```

## Fields

| Value                                                                                                                           | Description                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [CloseSelector](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectorsearchendsessionmodes/closeselector.md) | The session is ending because the current object selector needs to be closed.         |
| [None](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectorsearchendsessionmodes/none.md)                   | Default session ending mode. There is nothing to do except clean up your cached data. |
