This package is designed to get your Unity project up and running with the Stash web shop in just a few steps. The package is lightweight and wraps Stash API endpoints without any external dependencies.
To get started, you need to import the latest package from the releases section and follow our Unity guide.
The Stash package always targets the latest LTS version of Unity. We recommend you use the LTS version of Unity to build projects that are in production or about to ship. However, you should not encounter any issues when integrating or migrating into any other versions of Unity above the targeted release.
All components are optional, you can mix and match based on your needs.
Component | Description |
---|---|
Stash.Core | Provides core functionalities and API wrappers for Stash. |
Stash.Popup | Offers a customizable card-style popup for Stash Pay. |
Stash.Samples | Includes sample scene using the Stash SDK. |
- Download the latest build from the release page.
- Import the
.unitypackage
file into your Unity game using the local asset package import process. - Optionally select the
Scenes
folder to test out our reference implementations.
- In the Unity editor main menu, click Window > Package Manager.
- Click the + icon and select Add package from git URL.
- Specify the git repository URL: https://github.com/stashgg/stash-unity.git?path=Assets/Stash.
This package follows Semantic Versioning (major.minor.patch)
:
- Breaking changes always result in a major version increment.
- Non-breaking new features result in a minor version increment
- Bug fixes result in a patch version increment.
A full version changelog is available in the changelog file.
If you run into any problems or have a feature request, open up a new issue in the repository. Please follow the issue template.