SDK pour Unity / Informations générales
  Retour à la documentation

SDK pour Unity

Informations générales

The demo project represents one of the possible logics for the login system, inventory, and in-game store based on Xsolla products (Login, In-Game Store, and Pay Station). The demo uses the preset project in Publisher Account with a fully configured in-game store.

You can use the demo project in two ways:

  • As an example.
  • As an initial version of the login system, inventory, and in-game store. You can get an instant result and expand the demo features if needed.

To try the demo, open WebGL or open a demo project in Unity Editor and launch the Xsollus scene from the Assets\Xsolla.Demo\Common\Scene directory.

The demo project covers the following user scenarios:

  • Classic login via a username/email and password
  • Social login (not supported for WebGL)
  • Passwordless login via a one-time code or a link sent in the SMS or email
  • Purchase for real or virtual currency
  • Purchase in one click or via the shopping cart
  • Consuming items from the player inventory

Note
The demo project operates in a sandbox mode by default. To test the purchase process, use test cards. Sandbox mode only simulates the behavior of a payment method, no real money is involved. You can try out sandbox mode without signing any agreements with Xsolla or paying any fees.

The demo also shows the following user management features:

  • User account management
  • User attributes customization

Cet article vous a été utile ?
Merci !
Que pouvons-nous améliorer ? Message
Nous sommes désolés de l'apprendre
Dites-nous pourquoi vous n'avez pas trouvé cet article utile. Message
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.
Évaluer cette page
Évaluer cette page
Que pouvons-nous améliorer ?

Préfère ne pas répondre

Merci pour votre commentaire !
Dernière mise à jour: 10 Octobre 2023

Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.

Signaler un problème
Nous améliorons continuellement notre contenu grâce à vos commentaires.
Indiquez votre adresse e-mail pour un suivi
Merci pour votre commentaire !