void OnSpendCredit(int credit, int creditsToSpend) { Gametic.CustomEvent("SpendCredit", new Dictionary <string, object> { { "credits", credit }, { "creditsToSpend", creditsToSpend } }); }
void HandleOnLevelCompleted(int levelNumber) { Gametic.CustomEvent("GameLevelComplete", new Dictionary <string, object> { { "level", Monitor.lastPlayedLevel.ToString() }, { "credits", PlayerPrefs.GetInt(GameMonitor.CREDITS) } }); }
void OnAddCredit(int credit, int creditsToAdd) { Gametic.Purchase("Cafebazaar", creditsToAdd); Gametic.CustomEvent("AddCredit", new Dictionary <string, object> { { "credits", credit }, { "creditsToAdd", creditsToAdd } }); }
void Awake() { Gametic.CustomEvent("GameStart", new Dictionary <string, object> { { "credits", PlayerPrefs.GetInt(GameMonitor.CREDITS) } }); }