> For the complete documentation index, see [llms.txt](https://da-assets.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://da-assets.gitbook.io/docs/dal/get-started.md).

# Get started

{% stepper %}
{% step %}
To get started with the asset, import it into your Unity project via the Package Manager.

<div align="left"><figure><img src="/files/CxjG9kXv3miBnaKHVPln" alt="" width="464"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Now you need to configure the central script, which is available in two versions:

**a)** MonoBehaviour version – added to the scene and used by text components via singleton access.\
 **b)** ScriptableObject version – configured as an "asset" file in the Resources folder, accessible via singleton across all scenes in the entire project, including for localizing Editor interfaces.

<div align="left"><figure><img src="/files/gTvUJiESBRIjCYSvsl4i" alt="" width="327"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/bnMmXXlHOdUscnD18ZoG" alt="" width="490"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Both versions — A and B — use their own types of localizators, which inherit from the **LocBase<,>** class. For example:

```
public sealed class TextMeshLocalizatorScriptable : LocBase<TMP_Text, DALocalizatorScriptable>
```

The first generic type **TMP\_Text** indicates that this component will localize TextMesh text components located on the same GameObject.  The second generic type DALocalizatorScriptable means that to perform localization, the script will refer to the **Scriptable Localizator** asset, e.g. "DALocalizatorScriptable.asset".

```
public sealed class UITextLocalizator : LocBase<Text, DALocalizator>
```

The first generic type **Text** indicates that this component will localize **UI.Text** components located on the same GameObject.  The second generic type **DALocalizator** means that localization will be performed by referring to a **Mono Localizator**, such as "**DALocalizator**" placed in your scene.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://da-assets.gitbook.io/docs/dal/get-started.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.
