# InspectorElement

> Initialized a new instance of InspectorElement.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.UIElements](/engine/6000.6/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor.CoreModule

## InspectorElement()

Initialized a new instance of [InspectorElement](/engine/6000.6/script-reference/unityeditor/uielements/inspectorelement.md).

```csharp
public InspectorElement()
```

## InspectorElement(Object)

Initialized a new instance of [InspectorElement](/engine/6000.6/script-reference/unityeditor/uielements/inspectorelement.md) for the specified [Object](/engine/6000.6/script-reference/unityengine/object.md).

```csharp
public InspectorElement(Object obj)
```

### Parameters

**** (\[Object]\(/engine/6000.6/script-reference/unityengine/object)): The object to bind to.

## InspectorElement(SerializedObject)

Initialized a new instance of [InspectorElement](/engine/6000.6/script-reference/unityeditor/uielements/inspectorelement.md) for the specified [SerializedObject](/engine/6000.6/script-reference/unityeditor/serializedobject.md).

```csharp
public InspectorElement(SerializedObject obj)
```

### Parameters

**** (\[SerializedObject]\(/engine/6000.6/script-reference/unityeditor/serializedobject)): The object to bind to.

## InspectorElement(Editor)

Initialized a new instance of [InspectorElement](/engine/6000.6/script-reference/unityeditor/uielements/inspectorelement.md) for the specified [Editor](/engine/6000.6/script-reference/unityeditor/editor.md).

```csharp
public InspectorElement(Editor editor)
```

### Parameters

**** (\[Editor]\(/engine/6000.6/script-reference/unityeditor/editor)): The editor to bind to.
