public void ClickedPurchase()
    {
        string item  = itemField.text;
        string price = priceField.text;

        GrowthAnalytics.GetInstance().Purchase(int.Parse(price), null, item);
    }
    public void EndInputLevel()
    {
        string level = levelField.text;

        GrowthAnalytics.GetInstance().SetLevel(int.Parse(level));
    }
 public void ClickedRandom()
 {
     GrowthAnalytics.GetInstance().SetRandom();
 }
    public void ClickedDevelopment()
    {
        bool development = developmentToggle.isOn ? true : false;

        GrowthAnalytics.GetInstance().SetDevelopment(development);
    }
Exemple #5
0
 void Awake()
 {
     GrowthAnalytics.GetInstance().Initialize("APPLICATION_ID", "CREDENTIAL_ID");
 }