Skip to content

stashgg/stash-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stash SDK for Unity buildtest

Unity package for integrating Stash Pay checkout flows and web shop functionality. The package is lightweight and wraps Stash API endpoints without external dependencies.

Requirements

  • Unity 2019.4+ (LTS recommended)
  • iOS 12.0+ / Android API 21+

Components

All components are optional. Mix and match based on your needs.

Component Product Description
Stash.Popup Stash Pay In-game popup for Stash Pay checkout on iOS and Android. Includes Sample scene.
Stash.Webshop Stash Webshop Stash Webshop player account linking.
Stash.DemoApp x Stash Demo app and playground for testing. (Don't import)

Sample

You can try Stash.DemoApp directly in online hosted emulators:

Installation

Import package manually

  1. Download the latest release or repository as a zip file.
  2. Import the .unitypackage file into your Unity project
  3. Select the components you need (Stash.Webshop for Stash Webshop, Stash.Popup for Stash Pay)

Import via Git URL

  1. Open Window > Package Manager
  2. Click + → Add package from git URL
  3. Enter: https://github.com/stashgg/stash-unity.git?path=Assets

Documentation

Versioning

This package follows Semantic Versioning (major.minor.patch):

  • Major: Breaking changes
  • Minor: New features (backward compatible)
  • Patch: Bug fixes

Support