# TryAddRenderingLayerName(string)

> Add a new Layer to Rendering Layers in the Tags and Layers manager.

## Definition

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

```csharp
public static bool TryAddRenderingLayerName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): New name for the Rendering Layer.

### Returns

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