Exemple #1
0
 public void LogTiming(TimingHitBuilder builder)
 {
     if (builder.Validate() == null)
     {
         return;
     }
     if (GoogleAnalyticsV4.belowThreshold(logLevel, GoogleAnalyticsV4.DebugMode.VERBOSE))
     {
         Debug.Log("Logging timing.");
     }
     mpTracker.LogTiming(builder);
 }
 public void LogTiming(TimingHitBuilder builder)
 {
     InitializeTracker();
     if (builder.Validate() != null)
     {
         if (belowThreshold(logLevel, DebugMode.VERBOSE))
         {
             UnityEngine.Debug.Log("Logging timing.");
         }
         androidTracker.LogTiming(builder);
     }
 }
Exemple #3
0
    public void LogTiming(TimingHitBuilder builder)
    {
        InitializeTracker();
        if (builder.Validate() == null)
        {
            return;
        }

        if (belowThreshold(logLevel, DebugMode.VERBOSE))
        {
            Debug.Log("Logging timing.");
        }

        mpTracker.LogTiming(builder);
    }
    public void LogTiming(TimingHitBuilder builder)
    {
        InitializeTracker();
        if (builder.Validate() == null)
        {
            return;
        }
        if (GoogleAnalyticsV4.belowThreshold(logLevel, GoogleAnalyticsV4.DebugMode.VERBOSE))
        {
            Debug.Log("Logging timing.");
        }
#if UNITY_ANDROID && !UNITY_EDITOR
        androidTracker.LogTiming(builder);
#elif UNITY_IPHONE && !UNITY_EDITOR
        iosTracker.LogTiming(builder);
#else
        mpTracker.LogTiming(builder);
#endif
    }
 public void LogTiming(TimingHitBuilder builder)
 {
     InitializeTracker();
     if (builder.Validate() == null) {
       return;
     }
     if (GoogleAnalyticsV3.belowThreshold(logLevel, GoogleAnalyticsV3.DebugMode.VERBOSE)) {
       Debug.Log("Logging timing.");
     }
     #if UNITY_ANDROID && !UNITY_EDITOR
     androidTracker.LogTiming(builder);
     #elif UNITY_IPHONE && !UNITY_EDITOR
     iosTracker.LogTiming(builder);
     #else
     mpTracker.LogTiming(builder);
     #endif
 }