# Script Templates

![](https://3827608259-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MId67qhQpjmWGhGg0Gb%2F-MIe0Q0us9AmCUcsHzxe%2F-MIe0zWztoSsYq7RQDjx%2FCover-Image.png?alt=media\&token=e0f07c47-a1ae-466d-996f-fce3558e6f72)

Script Templates is a super easy to use plugin, allowing you to create custom script templates from inside the Editor.\
\
When you create a new script in the editor, Unity automatically creates a MonoBehaviour for you, with the right class name, a Start and an Update method. That's pretty cool!\
\
But what if you want to use a **Sciptable Object**, a normal C# **class** or a **struct**? You need to rewrite things right away!\
\
That's where **Script Templates** jumps in! It allows you to create your own custom templates for your project. Need a Scriptable Object? Create it right away! Want to write a normal C# class? Do it without the boilerplate included!\
\
With Script Templates you will improve your workflow a lot and can focus on the most important - creating great games!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ilumisoft.gitbook.io/documentation/tools/script-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
