Install SDK
Import package
Import package from an archive
Note
Only the latest version of the SDK is available through CDN. If you need a different version, you can download it from GitHub.
- Unzip the package.
- Open your Unity project or create a new one.
- In the Unity editor, go to
Assets > Import Package > Custom Package in the main menu and select the SDK.
Import package from git repository
Note
For the package manager to work correctly, git client should be installed. For detailed information about the prerequisites for using the package manager, refer to the Unity documentation.
- Open your Unity project or create a new one.
- In the main menu, click
Window > Package Manager . - Add a package as a dependence:
- Click the + icon and select
Add package from git URL . - Specify the git repository URL:
https://github.com/xsolla/store-unity-sdk.git?path=Assets/Xsolla
. - Click
Add and wait for the import to finish.
- Click the + icon and select
Set up compiler
Note
We recommend you use the
- Click
Edit > Project Settings in the main menu. - Go to the
Player > Other Settings > Configuration section. - Make sure that
Mono is selected in theScripting Backend field.
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.