private static void InitializeBeforeSceneLoad() { MixpanelSettings.LoadSettings(); if (Config.ManualInitialization) { return; } Initialize(); }
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}"); }
private IEnumerator Start() { MigrateFrom1To2(); DontDestroyOnLoad(this); StartCoroutine(PopulatePools()); MixpanelSettings.LoadSettings(); Worker.StartWorkerThread(); TrackIntegrationEvent(); while (true) { yield return(new WaitForSecondsRealtime(Config.FlushInterval)); DoFlush(); } }