Gamebase SDK for Unity  1.0.0
Toast Gamebase Platform

◆ Initialize() [1/2]

static void Initialize ( GamebaseCallback.GamebaseDelegate< GamebaseResponse.Launching.LaunchingInfo >  callback)
static

This method initialize Gamebase without GamebaseConfiguration instance.

callback return launching datas when Gamebase has initialized and has completed getting launching informations from server. You must call this method first, after the app has launched.

Parameters
callbackCallback. delegate(GamebaseResponse.Launching.LaunchingInfo data, GamebaseError error)

This sample shows how to call the Gamebase.Initialize method.

public void Initialize()
{
Gamebase.Initialize(configuration, (launchingInfo, gamebaseError) =>
{
if (gamebaseError == null)
Debug.Log("Initialize to succeeded");
else
Debug.Log("Initialize to failed");
});
}