Unity3d API Documentation

Setting up the Unity API

Download Browse on Github

Import the plugin to your project

Select Assets -> Import Package -> Custom Package, then browse to where the Playtomic.unitypackage is where you unzipped the file.

Initialize the API and log the view

The first thing you must do is initialize the API. Without doing this none of the services will work:

Playtomic.Initialize(gameid, "guid", "apikey");

After doing that log the view. If your game is mobile then do this when the application opens or resumes:


SSL (https)

Premium users can use SSL for all API communication by calling this method after initializing the API but before logging the view: