Kits SDK para Unity / Cómo migrar a la versión 1.0.0 y superiores del SDK
  Volver a Documentos

Kits SDK para Unity

Cómo migrar a la versión 1.0.0 y superiores del SDK

Cambios en la estructura de la versión 1.0.0

  • Demo functionality and UI elements moved to a separate project. The SDK only contains classes and methods for working with Xsolla products.
  • Changed SDK structures and classes, including:
    • Renamed the XsollaLogin class to XsollaAuth.
    • Split the XsollaStore class into XsollaCatalog, XsollaCart, and XsollaOrders.
Nota
To maintain backward compatibility, the original classes have been retained and marked as deprecated. Calls are proxied to new methods.

Sustitución de paquetes

  1. Open your Unity project.
  2. Delete the Xsolla folder.
  3. Download the SDK or demo project package.
Nota
If you use code snippets or a demo scene UI in your project, download the demo project package because it already contains the SDK files. If you included a demo project in your Unity project, you don’t need to integrate the SDK.
  1. Unzip the package.
  2. In the Unity Editor, go to Assets > Import Package > Custom Package in the main menu and select the SDK or demo project package.
  3. In the dependency warning window, click Install/Upgrade. As a result, the Import Unity Package window opens with a list of files checked and ready for installation. The list will indicate which files remain unchanged, which will be added, and which will be replaced.
  4. Click Import.
  5. Test your application and make changes to the project code if necessary.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Valore esta página
Valore esta página
¿Hay algo en lo que podamos mejorar?

Prefiero no responder

¡Gracias por tu mensaje!
Última actualización: 10 de Octubre de 2023

¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.

Informar de un problema
Nos esforzamos por ofrecer contenido de calidad. Tus comentarios nos ayudan a mejorar.
Déjanos tu correo electrónico para que te podamos responder
¡Gracias por tu mensaje!