# Register(string, string)

> Registers a new template.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Extensions](/engine/6000.7/script-reference/unity/smartstrings/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public void Register(string templateName, string template)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Unique name for the template that is not already registered.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): String to use as the template.
