예제 #1
0
 private static void InitializeBeforeSceneLoad()
 {
     MixpanelSettings.LoadSettings();
     if (Config.ManualInitialization)
     {
         return;
     }
     Initialize();
 }
예제 #2
0
 private static void InitializeBeforeSceneLoad()
 {
     MixpanelSettings.LoadSettings();
     if (Config.ManualInitialization)
     {
         return;
     }
     Initialize();
     Mixpanel.Log($"Track Queue Depth: {MixpanelStorage.TrackPersistentQueue.CurrentCountOfItemsInQueue}");
     Mixpanel.Log($"Engage Queue Depth: {MixpanelStorage.EngagePersistentQueue.CurrentCountOfItemsInQueue}");
 }
예제 #3
0
        private IEnumerator Start()
        {
            MigrateFrom1To2();
            DontDestroyOnLoad(this);
            StartCoroutine(PopulatePools());
            MixpanelSettings.LoadSettings();
            Worker.StartWorkerThread();
            TrackIntegrationEvent();
            while (true)
            {
                yield return(new WaitForSecondsRealtime(Config.FlushInterval));

                DoFlush();
            }
        }