Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Unity integration
Developers have access to two different environments:
Staging: Use this environment while developing and testing. This environment will use the testing blockchain backend.
Production: Use this environment for the releases, live versions available to users.
Example.
John started integrating the PLAY SDK in his application by setting the Staging environment.
He completed and tested feature Implementation in the Staging environment.
After that, he is ready to update the version in Stores, So he set Production and created new builds for store submission. He did a smoke test and updated in Stores.
After submitting to the stores, he switched back to the Staging environment to work on new features for their upcoming release.
After setting up the above configuration data, you can switch Staging/Production environment from the Unity menu:
ReadyGamesNetwork->Set Staging
ReadyGamesNetwork->Set Production
Unity integration
PLAY SDK requires the following software:
Unity 2020 LTS or later. Installation instructions.
It is always recommended to use a late version of Unity for bug fixes and up-to-date compatibility.
Open project settings Unity window: Edit->Project Settings...
Select Player and open the Other Settings section
For iOS tab change the Bundle Identifier
For Android tab change the Package Name
Choose Minimum API Level 21 in Project Settings->Player->Other Settings
For Android you can also change the Scripting Backend from Mono to IL2CPP. Since Unity Android Mono backend does not support arm64 which is required on Android Play Market. But to keep the development iterations faster, you can also keep Mono and only later jump to IL2CPP.
For Android, Target API Level should be 33 or higher for Google Play Store compliance.
If you are unable to find a solution in our documentation you can reach out to us directly by:
Unity integration
Go on the and select your project.
Click on Download unity packages to download your project credentials.
Import this file by using Unity Assets->Import Package->Custom Package... menu. After importing you should see the ReadyGamesNetwork folder in your Assets folder with all necessary settings:
Unreal Engine integration
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:
In the new Unity versions the Newtonsoft Json is build in to Unity. No need to install the package.
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.
Open [project_dir]/Packages/manifest.json
file in your favorite text editor
Paste following lines:
If you don't need some of the functionality, you can try to remove some modules.
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 contact us.
The manifest.json
file after all changes should look similar to this:
Afterwards switch to Unity and wait until the packages import finishes.
Unreal Integration
Follow the link - and clone it somewhere nearby the project directory.
Open the just pulled repository and copy the folder “Plugins” from it to the root of your project directory.
Open your project via Unreal Engine again and accept the offer to rebuild the modules.
Unreal integration
Go on the and select/create your project.
Open the project settings and scroll down to the Plugins category and find the “ReadyGamesNetwork”, then fill the ProjectId and ApiKey fields by values from your console project.
Unity integration
PLAY SDK is divided into multiple modules. Every module has its own functionality. All modules depend on the RGNCore module. In the current version, the modules are distributed by using packages for .
RGNCore
RGNSignInEmail
RGNSignInGuest
We created an initialization script to automatically setup every module. This script can manage automatically the guest signIn and the modules initialization. To use it, simply create an empty GameObject in your starting scene and attach RGNUnityInitilizer.cs to it. With this script, you don't need to manually build the RGNCore and modules.
To access modules you can use the "I" instance provider property:
For example:
The modules are located in the RGN.Modules.[module_name] namespaces. Here you can find a full list of modules with the namespaces:
Unreal integration
PLAY SDK requires the following software:
Unreal 5+
It is always recommended to use a late version of Unreal for bug fixes and up-to-date compatibility.
If you are unable to find a solution in our documentation you can reach out to us directly by:
Creating a GitHub issue
Dropping a message in our Discord dev-chat
Unreal integration
Developers have access to two different environments:
Staging: Use this environment while developing and testing. This environment will use the testing blockchain backend.
Production: Use this environment for the releases, live versions available to users.
Example.
John started integrating the READYgg SDK in his application by setting the Staging environment.
He completed and tested feature Implementation in the Staging environment.
After that, he is ready to update the version in Stores, so he set Production and created new builds for store submission. He did a smoke test and updated in Stores.
After submitting to the stores, he switched back to the Staging environment to work on new features for their upcoming release.
After setting up the above configuration data, you can switch Staging/Production environment from the Unreal plugin setting menu:
ReadyGamesNetwork->Environment Target->Staging
ReadyGamesNetwork->Environment Target->Production
Open Package Manager Window by clicking Unity menu Window->Package Manager
Unreal integration
Open your level blueprint.
All blueprints nodes for PLAY SDK you can find in special category named “ReadyGamesNetwork”.
Add two core nodes to start work with the SDK - Core /Initialize and Core /Update.