Prerequisites

Before you begin, make sure you have set up your Privy app and obtained your app ID and client ID from the Privy Dashboard.
A properly set up app client is required for mobile apps and other non-web platforms to allow your app to interact with the Privy API. Please follow this guide to configure an app client.

Initializing Privy

Initialize Privy as early as possible in your game’s lifecycle by calling PrivyManager.Initialize(PrivyConfig config):
var config = new PrivyConfig{
    AppId = "YOUR_APP_ID",
    ClientId = "YOUR_CLIENT_ID"
};

PrivyManager.Initialize(config);

Configuration

The configuration fields for the PrivyConfig are:
Be sure to initialize Privy only once at the start of your game. Initializing multiple instances of Privy will result in unexpected errors.