# Installing Unity

## Downloading Unity

You can obtain a copy of Unity3D game engine by downloading the preferred version on [Unity Archive](https://unity3d.com/get-unity/download/archive).

{% hint style="info" %}
It's recommended to use [Unity Hub](https://docs.unity3d.com/Manual/GettingStartedInstallingHub.html) as it manages unity's installations and modules easily.
{% endhint %}

The official [tutorial ](https://docs.unity3d.com/Manual/GettingStartedInstallingHub.html)of installing unity is best if you want documentation of everything.\
&#x20;To install and use the Unity Editor, you must have a Unity Developer Network (UDN) account. If you already have an account, sign in, choose your licenses type, and proceed to the [Installing the Unity Editor](https://docs.unity3d.com/Manual/GettingStartedInstallingHub.html#install) section.

{% hint style="success" %}
You should select the specified version of unity on the GitHub repository.\
As of writing this tutorial the specified unity version is **2019.1.8f1**.
{% endhint %}

![Unity Hub - selecting version](https://1692658658-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ln51w-ZUaSWAGQxO54_%2F-LnlqY8HK4eKmg2RB0n9%2F-LnlvUxp_SVc4EhWqvJU%2Funity-hub-selecting-version.png?alt=media\&token=9002f3fc-5971-48e5-bd5c-0bee3546c1d5)

## Installing Required Modules

| Module                                   | What does it do?                                                     |
| ---------------------------------------- | -------------------------------------------------------------------- |
| Windows build Support                    | If you want to deploy builds for **Windows**.                        |
| Linux Build Support                      | If you want to deploy builds for **Linux**.                          |
| Mac Build Support                        | If you want to deploy builds for **MacOS**.                          |
| Universal Windows Platform Build Support | If you want to deploy builds for **Windows 10 Store/Windows Phone**. |
| Android Build Support                    | If you want to deploy builds for **Android** phones or tables.       |
| IOS Build Support                        | If you want to deploy builds **Iphones** or **IPads**.               |
| IL2CPP (Windows)                         | Converts builds from managed code to unmanaged code.                 |

![Unity Hub - installing modules](https://1692658658-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ln51w-ZUaSWAGQxO54_%2F-LnlqY8HK4eKmg2RB0n9%2F-LnluGt3tJXztfBhR7nW%2Funity-hub-installing-modules.png?alt=media\&token=3a535e44-d4a0-484e-8f62-01d2dc6669a2)

## Opening the project

Once you are done to installing, in **Projects** section click **Add** and locate the folder of the project.

There are two projects on the repo, [OpenTibia ](https://github.com/slavidodo/OpenTibia-Unity/tree/master/OpenTibia)and [SpritesConveter](https://github.com/slavidodo/OpenTibia-Unity/tree/master/SpritesConverter). In the next section we will be using **SpritesConverter** so it's preferred to select that project.

{% hint style="warning" %}
If you haven't processed stylesheets already, it's preferred to proceed with the next step to build sprites and appearances before opening unity!
{% endhint %}
