public static void trackEvent(AdjustEvent adjustEvent) { if (Adjust.IsEditor()) { return; } if (adjustEvent == null) { UnityEngine.Debug.Log("Adjust: Missing event to track."); return; } AdjustAndroid.TrackEvent(adjustEvent); }
public static void trackEvent(AdjustEvent adjustEvent) { if (!IsEditor()) { if (adjustEvent == null) { UnityEngine.Debug.Log("Adjust: Missing event to track."); } else { AdjustAndroid.TrackEvent(adjustEvent); } } }
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 } }