# How to use

The Unity package contains the following elements:

<figure><img src="https://3243095587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbQnoewLg8huGnWfIxK%2Fuploads%2FiwXgtOgp2vaokLDqqQLU%2FSin%20t%C3%ADtulo.jpg?alt=media&#x26;token=a9488d65-2707-4756-8600-070cccc0be7b" alt=""><figcaption></figcaption></figure>

## Nice1 folder

Contains the Demos, Plugins, Prefabs, Scripts and UI folders.

* Demos: contains three samples:
  * A sample main scene called *CanvasAnchorExampleScene 1* (inherits from project <https://github.com/liquiidio/UniversalAuthenticatorLibraryUnity>) It has all you need to create a Login functionality using EOSIO Blockchain Network.&#x20;
  * A sample scene called *Nice1sample* with a configuration of panels, buttons and the prefabs needed to use the login part of the plugin.
  * A sample scene called *Nice1CharacterSelectorSample* with a configuration of a set of elements (panels, buttons, prefabs, etc.) required to use the character selector part of the plugin.
* Plugin: contains the plugin, Mac, iOS, Android, WebGL and Windows libraries.
* Prefabs: contains various prefabs:
  * LoginPanelAnchor: the login panel to launch Anchor Wallet.
  * UserPanel: a panel to display the name of the logged in user.
  * WalletManager: contains the scripts for authentication management, license parameters configuration and UI management.
  * Character: a button used in the character selection part of the plugin.
  * CharacterSelectionScreen: a panel used in the character selection part of the plugin.
  * CharacterSelector: a GameObject that contains the necessary elements to configure the componentes of the character selector.
* Scripts: where the different scripts used in the prefabs are stored. It also contains a ScriptableObject with the stored data for the character selector configurator.
* UI: sprites for the login panel.

{% hint style="warning" %}
**⏳ Documentation under revision, to be published soon.**\
**🙏Thank you for your patience.**
{% endhint %}

## Nice1 Login Demo Scene

![](https://3243095587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbQnoewLg8huGnWfIxK%2Fuploads%2F0yKjEjPA9CvGgAqedV6f%2Fimagen.png?alt=media\&token=673b86e9-e3bb-4f9c-9bbd-61062e710b19)

This demo scene contains the necessary configuration to see how the login part of the plugin works. Due to current restrictions, its operation depends on the incorporation of third-party plugins. The following section explains how to perform the configuration.

## Nice1 Character Selector Demo Scene:

<figure><img src="https://3243095587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbQnoewLg8huGnWfIxK%2Fuploads%2FA7FeZ1bxxKoX70tMMkq3%2Fimage.png?alt=media&#x26;token=49439cf2-7255-468a-ab47-ac56866914f0" alt=""><figcaption></figcaption></figure>

This demo scene contains the necessary configuration to see how the character selector part of the plugin works.


---

# 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.nice1.dev/nice1-plugin/unity/how-to-use.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.
