SDK for Unity (PC, web) / General information
  Back to Docs

SDK for Unity (PC, web)

General information

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

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 10, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!