Esempio n. 1
0
 void OnSpendCredit(int credit, int creditsToSpend)
 {
     Gametic.CustomEvent("SpendCredit", new Dictionary <string, object> {
         { "credits", credit },
         { "creditsToSpend", creditsToSpend }
     });
 }
Esempio n. 2
0
 void HandleOnLevelCompleted(int levelNumber)
 {
     Gametic.CustomEvent("GameLevelComplete", new Dictionary <string, object> {
         { "level", Monitor.lastPlayedLevel.ToString() },
         { "credits", PlayerPrefs.GetInt(GameMonitor.CREDITS) }
     });
 }
Esempio n. 3
0
 void OnAddCredit(int credit, int creditsToAdd)
 {
     Gametic.Purchase("Cafebazaar", creditsToAdd);
     Gametic.CustomEvent("AddCredit", new Dictionary <string, object> {
         { "credits", credit },
         { "creditsToAdd", creditsToAdd }
     });
 }
Esempio n. 4
0
 void Awake()
 {
     Gametic.CustomEvent("GameStart", new Dictionary <string, object> {
         { "credits", PlayerPrefs.GetInt(GameMonitor.CREDITS) }
     });
 }
Esempio n. 5
0
 public void MaleClicked()
 {
     PlayerPrefs.SetString("Gender", "Male");
     Gametic.CustomSegment("Gender", "Male");
     SceneManager.LoadScene("MainScene");
 }