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 Unity Package Manager.
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: