# ObjectSelectorTargetInfo

> A structure that contains information about an item that is about to be shown.

## Definition

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

> **Warning:**
>
> **Removed.** ObjectSelectorTargetInfo has been deprecated.

```csharp
public struct ObjectSelectorTargetInfo
```

## Constructors

| Constructor                                                                                                                                                                       | Description                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| [ObjectSelectorTargetInfo(UnityEditor.GlobalObjectId,UnityEngine.Object,System.Type)](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo/ctor.md) | Creates an [ObjectSelectorTargetInfo](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo.md). |

## Properties

| Property                                                                                                               | Description                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [globalObjectId](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo/globalobjectid.md) | The object's global identifier. It is always valid.                                            |
| [targetObject](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo/targetobject.md)     | If the object is already loaded in Unity, this is its instance. The instance can be null.      |
| [type](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo/type.md)                     | If the object is currently loaded in Unity, this is its underlying type. The type can be null. |

## Methods

| Method                                                                                                         | Description                                                                                                                                        |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| [LoadObject](/engine/6000.6/script-reference/unityeditor/searchservice/objectselectortargetinfo/loadobject.md) | Loads an object instance if it is not already loaded in Unity. This can return null if the object is part of a Scene or Prefab that is not loaded. |
