Пример #1
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();
            }
        }
Пример #2
0
 public static HCAppFlyerController Instance()
 {
     if (instance == null)
     {
         instance = new HCAppFlyerController();
         instance.Initialize();
     }
     return(instance);
 }