> For the complete documentation index, see [llms.txt](https://ilumisoft.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ilumisoft.gitbook.io/documentation/tools/script-templates/create-a-custom-template.md).

# Create a Custom Template

Creating your own custom templates is super easy! Just create a **.txt** file and enter the code you want it to contain. Unity will then replace every occurrence of **#SCRIPTNAME#** with the name you enter when creating the script.

Here is an example of normal C# class with a constructor:

```
public class #SCRIPTNAME# 
{
    public #SCRIPTNAME#()
    {
    
    }
}
```

Want more examples? Check out the default templates coming with **Script Templates**!

Once you have created your template text file, you need to add it to your templates directory. Check out the next chapter to see how to do it!
