# GetClass()

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

## Definition

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

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

### Returns

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