Exemplo n.º 1
0
 public void LogSocial(SocialHitBuilder builder)
 {
     if (builder.Validate() == null)
     {
         return;
     }
     if (GoogleAnalyticsV4.belowThreshold(logLevel, GoogleAnalyticsV4.DebugMode.VERBOSE))
     {
         Debug.Log("Logging social.");
     }
     mpTracker.LogSocial(builder);
 }
Exemplo n.º 2
0
 public void LogSocial(SocialHitBuilder builder)
 {
     InitializeTracker();
     if (builder.Validate() != null)
     {
         if (belowThreshold(logLevel, DebugMode.VERBOSE))
         {
             UnityEngine.Debug.Log("Logging social.");
         }
         androidTracker.LogSocial(builder);
     }
 }
Exemplo n.º 3
0
    public void LogSocial(SocialHitBuilder builder)
    {
        InitializeTracker();
        if (builder.Validate() == null)
        {
            return;
        }

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

        mpTracker.LogSocial(builder);
    }
    public void LogSocial(SocialHitBuilder builder)
    {
        InitializeTracker();
        if (builder.Validate() == null)
        {
            return;
        }
        if (GoogleAnalyticsV4.belowThreshold(logLevel, GoogleAnalyticsV4.DebugMode.VERBOSE))
        {
            Debug.Log("Logging social.");
        }
#if UNITY_ANDROID && !UNITY_EDITOR
        androidTracker.LogSocial(builder);
#elif UNITY_IPHONE && !UNITY_EDITOR
        iosTracker.LogSocial(builder);
#else
        mpTracker.LogSocial(builder);
#endif
    }
Exemplo n.º 5
0
 public void LogSocial(SocialHitBuilder builder)
 {
     InitializeTracker();
     if (builder.Validate() == null) {
       return;
     }
     if (GoogleAnalyticsV3.belowThreshold(logLevel, GoogleAnalyticsV3.DebugMode.VERBOSE)) {
       Debug.Log("Logging social.");
     }
     #if UNITY_ANDROID && !UNITY_EDITOR
     androidTracker.LogSocial(builder);
     #elif UNITY_IPHONE && !UNITY_EDITOR
     iosTracker.LogSocial(builder);
     #else
     mpTracker.LogSocial(builder);
     #endif
 }