# Installation

{% stepper %}
{% step %}

### Check requirements

UI Manager requires **Unity 6** or later.
{% endstep %}

{% step %}

### Install Object Pool

{% tabs %}
{% tab title="Option 1 - Git URL" %}

1. Open **Window → Package Manager**.
2. Click the **+** icon.
3. Select **Add package from git URL...**.
4. Paste this URL:

```
https://github.com/vanhaodev/unity-object-pool.git?path=Exported/com.vanhaodev.objectpool#1.0.1
```

{% endtab %}

{% tab title="Option 2 - manifest.json" %}

1. Open `Packages/manifest.json`.
2. Add this entry:

```json
"com.vanhaodev.objectpool": "https://github.com/vanhaodev/unity-object-pool.git?path=Exported/com.vanhaodev.objectpool#1.0.1"
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Install UI Manager

{% tabs %}
{% tab title="Option 1 - Git URL" %}
Paste this URL into Package Manager:

<pre><code><strong>https://github.com/vanhaodev/unity-ui-manager.git?path=Exported/com.vanhaodev.uimanager#1.0.1
</strong></code></pre>

{% endtab %}

{% tab title="Option 2 - manifest.json" %}

1. Open `Packages/manifest.json`.
2. Add this entry:

```json
"com.vanhaodev.uimanager": "https://github.com/vanhaodev/unity-ui-manager.git?path=Exported/com.vanhaodev.uimanager#1.0.1"
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Import sample

1. Open **Window → Package Manager**.
2. Select **UI Manager** from the package list.
3. Open the **Samples** tab.
4. Click **Import** on **K-pop Shop**.

{% hint style="info" %}
This sample shows the main UI Manager features and helps you get started faster.
{% endhint %}

<figure><img src="/files/1N89bjZKYHNdnH4mzBEV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1f6f8YjgUvdn0TxIF6Jn" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://vanhaodev.gitbook.io/ui-manager/installation.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.
