<commit_before>---
title: Templates
template: usermanual-page.tmpl.html
position: 7.4
---

Templates (or prefabs) allow you to speed up your development by creating Entities that are reusable. You can place multiple instances of a Template in your Scene and if you make any changes and apply them to the Template Asset, all instances of that Template will be updated.

## Creating Templates

To create a new Template Asset you can right-click on any Entity in your Scene and select Template &rarr; New Template. This will create a new Template Asset and add it to your currently selected folder in the Asset Panel. The Entity you right clicked will become an instance of that new Template Asset automatically.

## Adding Templates in your Scene

You can drag & drop a Template Asset in your scene or right click under an Entity in the Hierarchy and select Template &rarr; Add Instance. Then you can select the Template Asset and that will an instance of it under the clicked Entity.

When an Entity is an instance of a Template it will have a slightly difference appearence in the Hierarchy:<commit_msg>Added Templates video to index page (#144)<commit_after>---
title: Templates
template: usermanual-page.tmpl.html
position: 7.4
---

Templates (or prefabs) allow you to speed up your development by creating Entities that are reusable. You can place multiple instances of a Template in your Scene and if you make any changes and apply them to the Template Asset, all instances of that Template will be updated.

<iframe width="560" height="315" src="https://www.youtube.com/embed/2HV8Ib6wYRc" frameborder="0" allowfullscreen></iframe>

## Creating Templates

To create a new Template Asset you can right-click on any Entity in your Scene and select Template &rarr; New Template. This will create a new Template Asset and add it to your currently selected folder in the Asset Panel. The Entity you right clicked will become an instance of that new Template Asset automatically.

## Adding Templates in your Scene

You can drag & drop a Template Asset in your scene or right click under an Entity in the Hierarchy and select Template &rarr; Add Instance. Then you can select the Template Asset and that will an instance of it under the clicked Entity.

When an Entity is an instance of a Template it will have a slightly difference appearence in the Hierarchy:
{'fraction_non_alphanumeric': 0.04281475201356507, 'fraction_numerical': 0.0072064434082238235, 'mean_word_length': 4.450346420323326, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4216701', 'n_tokens_mistral': 596, 'n_tokens_neox': 559, 'n_words': 369}