# Overview

**Yarn Spinner for Unity** is the set of components and scripts that make Yarn Spinner work inside a Unity project.

In this section, you’ll learn how to install, set up, and work with Yarn Spinner for Unity.

{% hint style="info" %}
Yarn Spinner for Unity works with Unity version 2019.4 and later.
{% endhint %}

{% hint style="danger" %}
Use IL2CPP? When building your project, set IL2CPP Code Generation to **Faster (smaller) builds** to avoid crashes. See [this issue](https://github.com/YarnSpinnerTool/YarnSpinner-Unity/issues/163) for more information.
{% endhint %}


---

# 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://docs.yarnspinner.dev/2.2/using-yarnspinner-with-unity/overview.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.
