# GetName()

> Retrieves the name of the custom terrain tool.

## Definition

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

```csharp
public abstract string GetName()
```

### Returns

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

### Remarks

This function must be implemented. Unity calls this method to populate the terrain tool inspector. To override a built-in tool with this one, you can provide the same name as the tool to override.

Additional Resources: [TerrainPaintTool\<T>](/engine/6000.6/script-reference/unityeditor/terraintools/terrainpainttool1.md).
