# GetClass()

> Returns the System.Type object of the class implemented by this script.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public Type GetClass()
```

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [Type](https://learn.microsoft.com/dotnet/api/system.type) |             |
