How to switch to Game Commerce asset from other Xsolla assets
Login & Account System and Cross-Buy assets will be deprecated in April 2022. You can continue to use them, but they will not be updated and supplemented with new features. It is recommended to switch to the Game Commerce asset. It contains all the classes and methods needed to work with Xsolla products.
You can replace the Login & Account System or Cross-Buy asset with Game Commerce in the following ways:
- By importing a package. Only the latest version of the asset is available for import.
- By replacing asset files. In this case, you can choose which version to upgrade to.
Import package
- Download the asset.
- Unzip the package.
- In the Unity editor, go to
Assets > Import Package > Custom Package in the main menu and select the asset. - In the dependency warning window, click
Install/Upgrade . As a result, theImport Unity Package window will open 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. - Click
Import .
Replace asset files
- Download the asset.
- Copy the asset to the
Assets/Xsolla folder of your project with file replacement. When copying without replacing the files, the work of the demo scene may be disrupted.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.