예제 #1
0
    void Start()
    {
        UM_AnalyticsService.Client.Init();

        //Unity settings via code example
        UM_Settings.Instance.Analytics.UnityClient.LimitUserTracking  = true;
        UM_Settings.Instance.Analytics.UnityClient.DeviceStatsEnabled = true;


        //Firebase settings via code
        UM_Settings.Instance.Analytics.FirebaseClient.MinimumSessionDuration = 10;
        UM_Settings.Instance.Analytics.FirebaseClient.SessionTimeoutDuration = 30;

        SA_FB_Analytics.LogAppEvent("my event");
    }
예제 #2
0
 public void Event(string eventName)
 {
     SA_FB_Analytics.LogAppEvent(eventName);
 }
예제 #3
0
        public void Event(string eventName, IDictionary <string, object> data)
        {
            var fbData = (Dictionary <string, object>)data;

            SA_FB_Analytics.LogAppEvent(eventName, null, fbData);
        }