Skip to content

Unity3D Integration

For your convenience we've recorded the video of the integration

  1. Download the latest version of the plugin from the Asset Store.
  2. Import the UnnyNet plugin.
  3. Prepare Game ID and Public Key to use in the code:

    Screenshot

  4. Call initialize method at start:

UnnyNet.Main.Init(new UnnyNet.AppConfig {
    ApiGameId = YOUR_GAME_ID,
    PublicKey = YOUR_PUBLIC_KEY,
    Environment = UnnyNet.Constants.Environment.Development,
    OnReadyCallback = responseData => { Debug.Log("UnnyNet Initialized: " + responseData.Success); }
});

Further reading

UnnyNet consists of several modules for your convenience.

  1. Auth - authorizations
  2. Data Editor - a place to work with Data Editor
  3. Storage - save/load in-game data with the server
  4. Payments - purchase In-App and get information about them
  5. Localization - (coming soon) a place to work with localizations