# TryRemoveLastRenderingLayerName()

> Remove a last Layer to Rendering Layers in the Tags and Layers manager. The default Rendering Layer cannot be removed.

## Definition

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

```csharp
public static bool TryRemoveLastRenderingLayerName()
```

### Returns

| Type                                                          | Description                                  |
| ------------------------------------------------------------- | -------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns `true` if the change was successful. |
