Пример #1
0
 public static void trackEvent(AdjustEvent adjustEvent)
 {
     if (!Application.isEditor)
     {
         if (adjustEvent == null)
         {
             Debug.Log("Adjust: Missing event to track.");
             return;
         }
     #if UNITY_IOS
         AdjustiOS.TrackEvent(adjustEvent);
     #elif UNITY_ANDROID
         AdjustAndroid.TrackEvent(adjustEvent);
     #elif (UNITY_WSA || UNITY_WP8)
         AdjustWindows.TrackEvent(adjustEvent);
     #else
         Debug.Log(errorMsgPlatform);
     #endif
     }
 }