コード例 #1
0
        /// <summary>
        /// Records a timed event specified by eventName.
        /// </summary>
        /// <param name="eventName">
        /// Name of the event. For maximum effectiveness, we recommend using a naming scheme
        /// that can be easily understood by non-technical people in your business domain.
        /// </param>
        /// <param name="isTimed">If set to <c>true</c> event will be timed.
        /// Call EndTimedEvent to stop timed event.</param>
        public void LogEvent(string eventName, bool isTimed)
        {
#if UNITY_IOS
            FlurryAnalyticsIOS.LogEvent(eventName, isTimed);
#elif UNITY_ANDROID
            FlurryAnalyticsAndroid.LogEvent(eventName, isTimed);
#endif

            ReplicateEventToUnityAnalytics(eventName);
        }
コード例 #2
0
 public void LogEvent(string eventName, bool isTimed)
 {
     FlurryAnalyticsAndroid.LogEvent(eventName, isTimed);
     this.ReplicateEventToUnityAnalytics(eventName, null);
 }
コード例 #3
0
 public void LogEvent(string eventName)
 {
     FlurryAnalyticsAndroid.LogEvent(eventName, false);
     this.ReplicateEventToUnityAnalytics(eventName, null);
 }