public void SendGADesigntEvent(string eventName, float eventValue)
 {
     if (HCConstants.enableGameAnalytics)
     {
         HCGameAnalytics.Instance().sendDesignEvent(eventName, eventValue);
     }
 }
        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();
            }
        }
 // 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);
     }
 }
 public static HCGameAnalytics Instance()
 {
     if (instance == null)
     {
         instance = new HCGameAnalytics();
         instance.Initialize();
     }
     return(instance);
 }