# Using other UI Template

{% hint style="warning" %}
**This tutorial** r**equires Visual Studio 2022 with the components installed** [installation](https://gamelauncher.gitbook.io/documentation/getting-started/installation "mention")

**Requires to open Unity**
{% endhint %}

### Using other UI Template

{% hint style="success" %}
**You can skip this tutorial by joining the Github repository.**&#x20;

The FlatWindow Template is already setup in the Github repository.
{% endhint %}

{% hint style="danger" %}
**This is only required if you bought the Basic Version of Game Launcher or you opened the Unity Package from the Asset Store.**&#x20;

Skip this tutorial if you own the PRO Version or if you are using the Github repository.
{% endhint %}

1. **Import** the new UI Template package to Unity
2. **Extract** your new template in a new folder

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FGo2vO4MlSPkCYGphIuEn%2Fimage.png?alt=media\&token=96385a91-608c-4db7-9b6f-7d390c62cabe)

3. In the extracted folder, navigate to *<mark style="color:yellow;">**Core**</mark>* folder and **open&#x20;***<mark style="color:purple;">**GameLauncher.sln**</mark>*

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FI1tTXsXjqoFGQdU0uEua%2Fimage.png?alt=media&#x26;token=606772ba-3166-4ebb-b765-7d1d3673942b" alt=""><figcaption><p>Game Launcher Flat Window Template folder</p></figcaption></figure>

4. Here you need to move ***GameLauncherCore.dll*** to the *<mark style="color:yellow;">**Core**</mark>* folder of this new template

4.1. **Import** the package Game Launcher from the store and locate the *<mark style="color:red;">**GameLauncher.zip**</mark>* file under *<mark style="color:yellow;">Assets/Plugins/Game Launcher/Installation</mark>*

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FotTNDfV0PwgIC77WziMw%2Fimage.png?alt=media\&token=017fffd1-80b6-4d3e-af22-35ef5adf2039)

4.2 **Extract it** outside the unity project and <mark style="color:green;">**Copy**</mark> the file *<mark style="color:red;">**GameLauncherCore.dll**</mark>* under *<mark style="color:yellow;">GameLauncher/Core</mark>* folder

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FCcitjmSsIOscJqc7N7xT%2Fimage.png?alt=media\&token=847064c8-fbfc-4b2d-a2a3-643273422fb0)

4.3. In **Visual Studio**, right click on the **Solution -> Open Folder in file explorer** and <mark style="color:green;">**Paste**</mark> the file here

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FnvrGI1CxYh3Do963XbDv%2FFlat%20Window%20-%20Open%20Solution%20and%20Paste%20Core.gif?alt=media&#x26;token=f97bcaa6-1137-4a0f-a50a-2198c77611dd" alt=""><figcaption><p>Paste GameLauncherCore in the main folder of the Template</p></figcaption></figure>

4.4. Add the library as reference. **Right Click** in the <mark style="color:purple;">**GameLauncher**</mark> project -> **Add** -> **Project Reference -> Browse ->**

Search for the previously copied ***GameLauncherCore.dll*** file (You need to locate the current project again) -> OK

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FQM9bNVAR0Vr8hFcvMwQK%2FFlat%20Window%20-%20Add%20Core%20as%20reference.gif?alt=media&#x26;token=3efbedb3-95ca-4e5d-b799-16fe3fe57945" alt=""><figcaption></figcaption></figure>

5. In the **Solution Explorer, right click** on **Solution (GameLauncher) -> Rebuild Solution**

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FOOiPFAk7K7BTMXNA8qbG%2FRebuild%20Solution.gif?alt=media&#x26;token=7e87a807-8b26-45ca-adb0-b2aa5e4d44ef" alt=""><figcaption></figcaption></figure>

**Open the MainWindow\.xaml in the GameLauncher project and see your new template UI!**

**You now can run it to test it!**

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FuydpHFrphjQ4Es0hc2LQ%2Fimage.png?alt=media&#x26;token=6c925b1b-87e3-402c-ba9d-d7d5b3c22444" alt=""><figcaption></figcaption></figure>

And that's all! Now setup the Launcher as usually

[#setup-your-launcher-depending-your-host](https://gamelauncher.gitbook.io/documentation/getting-started/installation#setup-your-launcher-depending-your-host "mention")
