Exemplo n.º 1
0
        public AnalyticsResult SendData(string eventString, IAnalyticsData data)
        {
            //Debug.Log("Sent Data " + JsonUtility.ToJson(data));
            if (false == s_Initialize)
            {
                EditorAnalytics.RegisterEventWithLimit(AnalyticsDataTypes.k_LightDataString, k_MaxEventsPerHour, k_MaxNumberOfElements, k_VendorKey, k_Version);
                EditorAnalytics.RegisterEventWithLimit(AnalyticsDataTypes.k_Renderer2DDataString, k_MaxEventsPerHour, k_MaxNumberOfElements, k_VendorKey, k_Version);
                s_Initialize = true;
            }

            return(EditorAnalytics.SendEventWithLimit(eventString, data, k_Version));
        }
Exemplo n.º 2
0
 public AnalyticsController(IAnalyticsData data)
 {
     AnalyticsData = data;
 }
Exemplo n.º 3
0
 public StatsModel(IAnalyticsData analyticsData)
 {
     AnalyticsData = analyticsData;
 }
Exemplo n.º 4
0
 public ImageRequestAnalytics(IAnalyticsData analyticsData)
 {
     AnalyticsData = analyticsData;
 }