Example #1
0
 protected override void OnApplicationQuit()
 {
     if (Mixpanel.IsInitialized())
     {
         Mixpanel.Track("Unity/Player Quit");
         Mixpanel.Flush();
     }
     _logsClient?.Dispose();
 }
Example #2
0
 public void OnFlushPress()
 {
     text.SetText("Flush called");
     Mixpanel.Flush();
 }
 /// <summary>
 /// Call Mixpanel.Flush()
 /// </summary>
 public override void Flush()
 {
     Mixpanel.Flush();
 }