PLAY SDK Documentation
v0.12.0 (Obsolete)
v0.12.0 (Obsolete)
  • 🛠️ENVIRONMENT SETUP
    • Overview
    • PLAY Sample Package
  • 🖥️SDK Integration Guides
    • Getting Started
      • Unity
        • Tech Requirements
        • Step 1 - Import packages
        • Step 2 - Import credentials
        • Step 3 - Environments
        • Step 4 - Initialization
      • Unreal
        • Tech Requirements
        • Step 1 - Import packages
        • Step 2 - Configure credentials
        • Step 3 - Environments
        • Step 4 - Initialization
    • Authentication
      • Unity
      • Unreal
    • User Profile
      • Unity
      • Unreal
    • Virtual Items
      • Unity
      • Unreal
    • Inventory
      • Unity
      • Unreal
    • Store
      • Unity
      • Unreal
    • Currency (IAP)
      • Unity
      • Unreal
    • Achievements
      • Unity
      • Unreal
    • Game Progress
      • Unity
      • Unreal
    • Leaderboards
      • Unity
      • Unreal
    • Matchmaking
      • Unity
      • Unreal
    • Wallets
      • Unity
      • Unreal
    • Analytics
      • Unity
      • Unreal
    • Notifications
      • Unity
      • Unreal
    • Module Requests
  • 🎲Game Design Guides
    • Overview
    • User Authentication
    • User Profile
    • Game (Progression + Rewards)
    • Virtual Items
    • Currency (IAP)
    • Store
    • Inventory
    • Achievements
    • NFT Purchase Flow & Wallets
    • Limited-Time Offers
    • NFT Passes
  • 📌Links
    • PLAY Whitepaper
    • PLAY Postman API Doc
    • PLAY Dev Dashboard
    • PLAY Example Repository Dev
    • PLAY Example Repository Prod
    • Report an Issue
    • Discord dev-chat
    • Telegram Community Channel
    • Social Links
Powered by GitBook
On this page
  • Package Dependencies
  • Dependencies Installation:

Was this helpful?

Export as PDF
  1. SDK Integration Guides
  2. Getting Started
  3. Unity

Step 1 - Import packages

Package Dependencies

In case you use an older version of Unity you need to add the Newtonsoft Json package. You can install it by pasting following into your manifest.json file:

"com.unity.nuget.newtonsoft-json": "3.2.1",

In the new Unity versions the Newtonsoft Json is build in to Unity. No need to install the package.

Dependencies Installation:

  1. Git package repository link. The easiest way to add the READYgg SDK into your project is to use PLAY package distribution. You need simply put the package git repository links into manifest.json file. See instructions below.

Troubleshooting : if you have error messages in Unity saying that it cannot find the git repository, make sure you have Git installed on your machine. Unity Hub needs it to import packages from Github.

Steps:

  1. Open [project_dir]/Packages/manifest.json file in your favorite text editor

  2. Paste following lines:

"io.getready.rgn.achievement": "https://github.com/readyio/RGNAchievement.git#0.12.0",
"io.getready.rgn.analytics": "https://github.com/readyio/RGNAnalytics.git#0.12.0",
"io.getready.rgn.core": "https://github.com/readyio/RGNCore.git#0.12.0",
"io.getready.rgn.currency": "https://github.com/readyio/RGNCurrency.git#0.12.0",
"io.getready.rgn.gamepass": "https://github.com/readyio/RGNGamePass.git#0.12.0",
"io.getready.rgn.gameprogress": "https://github.com/readyio/RGNGameProgress.git#0.12.0",
"io.getready.rgn.inventory": "https://github.com/readyio/RGNInventory.git#0.12.0",
"io.getready.rgn.leaderboard": "https://github.com/readyio/RGNLeaderboard.git#0.12.0",
"io.getready.rgn.marketplace": "https://github.com/readyio/RGNMarketplace.git#0.12.0",
"io.getready.rgn.matchmaking": "https://github.com/readyio/RGNMatchmaking.git#0.12.0",
"io.getready.rgn.signin.email": "https://github.com/readyio/RGNSignInEmail.git#0.12.0",
"io.getready.rgn.signin.guest": "https://github.com/readyio/RGNSignInGuest.git#0.12.0",
"io.getready.rgn.store": "https://github.com/readyio/RGNStore.git#0.12.0",
"io.getready.rgn.userprofile": "https://github.com/readyio/RGNUserProfile.git#0.12.0",
"io.getready.rgn.virtualitems": "https://github.com/readyio/RGNVirtualItems.git#0.12.0",
"io.getready.rgn.wallets": "https://github.com/readyio/RGNWallets.git#0.12.0",

If you don't need some of the functionality, you can try to remove some modules.

The manifest.json file after all changes should look similar to this:

Afterwards switch to Unity and wait until the packages import finishes.

Steps:

  1. Open Unity project

  2. Click "+" button on left upper corner

  3. Select "Add package from git URL..."

  4. Paste the package links one by one:

https://github.com/readyio/RGNAchievement.git#0.12.0
https://github.com/readyio/RGNAnalytics.git#0.12.0
https://github.com/readyio/RGNCore.git#0.12.0
https://github.com/readyio/RGNCurrency.git#0.12.0
https://github.com/readyio/RGNGamePass.git#0.12.0
https://github.com/readyio/RGNGameProgress.git#0.12.0
https://github.com/readyio/RGNInventory.git#0.12.0
https://github.com/readyio/RGNLeaderboard.git#0.12.0
https://github.com/readyio/RGNMarketplace.git#0.12.0
https://github.com/readyio/RGNMatchmaking.git#0.12.0
https://github.com/readyio/RGNSignInEmail.git#0.12.0
https://github.com/readyio/RGNSignInGuest.git#0.12.0
https://github.com/readyio/RGNStore.git#0.12.0
https://github.com/readyio/RGNUserProfile.git#0.12.0
https://github.com/readyio/RGNVirtualItems.git#0.12.0
https://github.com/readyio/RGNWallets.git#0.12.0

Last updated 8 months ago

Was this helpful?

Partially removing some of the modules while keeping the others has not been thoroughly tested yet by the RGN team, if you encounter any issues please

Open Package Manager Window by clicking Unity menu Window->Package Manager

🖥️
contact us.