> For the complete documentation index, see [llms.txt](https://hsv-studio.gitbook.io/tutorial-factory/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hsv-studio.gitbook.io/tutorial-factory/guides/tutorials-objects.md).

# Tutorials Objects

{% hint style="info" %}
Tutorial Objects are the core of the Stage Object . You can add as many Tutorial Objects as you want. Tutorial Objects would use various Modules to achieve various scenarios.
{% endhint %}

Tutorial Object has certain similar configuration as Stage Object, such as Index, Name, Start Trigger, End Trigger and so on.&#x20;

## 1. Add Tutorial Object

Click on '+' button to add your first Tutorial Object.&#x20;

{% hint style="info" %}
You could delete selected Tutorial Object by clicking on '-' button.

The Tutorial Objects could be reordered on the list by dragging it up or down. This would change its playing index accordingly.
{% endhint %}

![Picture 1. Tutorial Objects Configuration](https://2526158861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG18qhsfnlekFiCYWyYsZ%2Fuploads%2FHfLMBHfXUcHhD4OKuLPS%2FScreen%20Shot%202022-04-11%20at%208.51.34%20PM.png?alt=media\&token=088c63fc-1dbb-4189-9b2f-2095a6084860)

## 2. Tutorial Object Configuration

* **Stage Index**: Index of the stage, the Tutorial Object belongs to.
* **Object Index**: Tutorial Object position in the list starting from 1.
* **Name**: Name of the Tutorial Object.

{% hint style="info" %}
Both Index and Name could be used to find the Tutorial Object in the list.
{% endhint %}

### 2.1 Trigger Configuration

Tutorial Object can be started using different types of Trigger Configurations. Please refer to [/pages/o2Rd22UDNbCZ7MvhVpEx#2.-trigger-configuration](https://hsv-studio.gitbook.io/tutorial-factory/guides/pages/o2Rd22UDNbCZ7MvhVpEx#2.-trigger-configuration "mention")

### 2.2 Advance Type

Tutorial Objects could advance to next tutorial using different types of advancing logics. Please refer to [Stage Object Configuration](/tutorial-factory/guides/stage-object-configuration.md#advancetype)

### 2.3 Event Callback

Please refer to [Events](/tutorial-factory/guides/events.md)

## 3. Targets

Targets contains a list of objects which are used by [Modules](#undefined) to track. Modules could track scene objects, prefabs, UI elements and so on.

{% hint style="info" %}
Please feel free to try out different combinations of targets for the Tutorial Objects.
{% endhint %}

![Picture2. Target Configuration](https://2526158861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG18qhsfnlekFiCYWyYsZ%2Fuploads%2F0fxMKdbp0auoFRZtsvaE%2FScreen%20Shot%202022-05-27%20at%2011.07.29%20PM.png?alt=media\&token=b012bf67-5f72-4d76-a0a5-e8472cb54388)

* **Use Module Mask**: Should selected target mask out modules.
* **Module Mask**: Layermask of all the preconfigured modules types. Only selected modules would be used for the target.
* **Start Inactive**: Target would be disable at start.
* **Highlight Target**: Target would be highlighted using OutlineController.

{% hint style="info" %}
OutlineController highlights out scene objects. It only works for Renderers. It supports Builtin and URP render pipeline.
{% endhint %}

* **Follow Target**: Should modules follow target when playing Tutorial Object.
* **Target Bound Type**: Types used to calculate target bounds.

{% hint style="info" %}
**None**: Do nothing with target.

**All**: All transform renderers including target's children would be calculated.

**Recttransform**: Recttransform's screen rect would be calculated.

**Transform**: Single transform bound would be calculated **not including children**
{% endhint %}

{% hint style="info" %}
Normally, All type would be enough for scene mesh objects, Recttransform for UI elements.
{% endhint %}

* **Spawn Effect**: Should spawn extra prefab on top of target.
* **Effect Prefab**: Prefab object reference.
* **Override Effect Spawn**: If true, effect prefab would be spawned using provided transform information. Otherwise, prefab would be spawned using Target's transform information.

{% hint style="info" %}
**'Copy Transform'** button copies Target transform position to the effect spawn informations fields. This is a quick way to copy information quickly if you want to override spawn information.
{% endhint %}

* **Use Trigger:** Should use trigger for individual Target
* **Target Trigger**: Trigger configuration for the Target. Please refer to [/pages/o2Rd22UDNbCZ7MvhVpEx#2.-trigger-configuration](https://hsv-studio.gitbook.io/tutorial-factory/guides/pages/o2Rd22UDNbCZ7MvhVpEx#2.-trigger-configuration "mention")

{% hint style="info" %}
Trigger configuration would allow user to deactivate specified Target without advancing Tutorial Object. Tutorial Object would end when all of the Targets with trigger enabled are deactivated.
{% endhint %}
