public override void EnableService(bool enabled)
 {
     if (PurchasingSettings.enabled != enabled)
     {
         PurchasingSettings.SetEnabledServiceWindow(enabled);
         EditorAnalytics.SendEventServiceInfo(new PurchasingAccess.PurchasingServiceState
         {
             iap = enabled
         });
     }
 }
        protected override void InternalEnableService(bool enable, bool shouldUpdateApiFlag)
        {
            if (PurchasingSettings.enabled != enable)
            {
                PurchasingSettings.SetEnabledServiceWindow(enable);
                EditorAnalytics.SendEventServiceInfo(new PurchasingServiceState()
                {
                    iap = enable
                });
                if (enable && !AnalyticsService.instance.IsServiceEnabled())
                {
                    AnalyticsService.instance.EnableService(true, shouldUpdateApiFlag);
                }
            }

            base.InternalEnableService(enable, shouldUpdateApiFlag);
        }