# GetTemplateCustomValue(string)

> Returns a value of a custom template variable.

## Definition

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

```csharp
public static string GetTemplateCustomValue(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the variable.

### Returns

| Type                                                           | Description                                        |
| -------------------------------------------------------------- | -------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The current value of the custom template variable. |

### Remarks

During the build process, custom variables in user templates are set to the values supplied by the Editor. User templates are available on the WebGL platform.

Additional Resources: [PlayerSettings.SetTemplateCustomValue](/engine/6000.0/script-reference/unityeditor/playersettings/settemplatecustomvalue.md).
