+31 (0) 20 760 2040 info@spilgames.com

Spil SDK

Download and Import the Unity package into your project

You can find the latest version of the Unity plugin here: https://github.com/spilgames/spil_event_unity_plugin/releases

Unzip the download, inside you will find 2 folders and a Unity package. Please ignore the iOS and Android folders for now and just import the Unity package.

The package contains 2 C# scripts and a JSONHelper plugin. Spil.cs contains all the methods and native bridges for the SDK, the other script is a helper class for handling JSON responses from the Spil servers.

Attach the Spil.cs script to a GameObject in your SplashScreen or equivalent.

For Android, also enter your project ID to the GameObject. Ask your Spil contact to provide you with your project ID.