Exemplo n.º 1
0
 public void SendGADesigntEvent(string eventName, float eventValue)
 {
     if (HCConstants.enableGameAnalytics)
     {
         HCGameAnalytics.Instance().sendDesignEvent(eventName, eventValue);
     }
 }
Exemplo n.º 2
0
        private void Initialize()
        {
            if (HCConstants.enableGameAnalytics)
            {
                HCGameAnalytics.Instance();
            }

            if (HCConstants.enableFacebook)
            {
                HCFacebookController.Instance();
            }

            if (HCConstants.enableAdmob)
            {
                HCAdmobController.Instance();
            }

            if (HCConstants.enableAdjust)
            {
                HCAdjustController.Instance();
            }

            if (HCConstants.enableAppsflyer)
            {
                HCAppFlyerController.Instance();
            }
        }
Exemplo n.º 3
0
 // Game Analytics
 public void SendGAPurchaseEvent(string currency, int amount, string itemType, string itemId, string cartType, string receipt, string signature)
 {
     if (HCConstants.enableGameAnalytics)
     {
         HCGameAnalytics.Instance().sendBusinessEvent(currency, amount, itemType, itemId, cartType, receipt, signature);
     }
 }