How to use

The Unity package contains the following elements:

Nice1 folder

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

  • Demos: contains two samples:

    • 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 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.

StreamingAssets folder

Contains the html/javascript code that connects to Anchor Wallet

⏳ Documentation under revision, to be published soon. 🙏Thank you for your patience.

Nice1 Login Demo Scene

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:

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

Last updated