public void Initialize(bool consent) { if (!GameAnalyticsWrapper.Initialize(consent)) { UnregisterEvents(); } }
private static void TrackCustomEvent(string eventName, Dictionary <string, object> eventProperties, string type, List <TinySauce.AnalyticsProvider> analyticsProviders) { if (analyticsProviders.Contains(TinySauce.AnalyticsProvider.GameAnalytics)) { GameAnalyticsWrapper.TrackDesignEvent(eventName, null); } }
private static void TrackCustomEvent(string eventName, float value) { GameAnalyticsWrapper.TrackDesignEvent(eventName, value); }
private static void TrackCustomEvent(string eventName) { GameAnalyticsWrapper.TrackDesignEvent(eventName, null); }
private static void OnGameFinished(bool levelComplete, float score, string levelNumber, Dictionary <string, object> eventProperties) { GameAnalyticsWrapper.TrackProgressEvent(levelComplete ? GAProgressionStatus.Complete : GAProgressionStatus.Fail, levelNumber, (int)score); }
private static void OnGameStarted(string levelNumber) { GameAnalyticsWrapper.TrackProgressEvent(GAProgressionStatus.Start, levelNumber, null); }
private static void OnGameStarted(string level, Dictionary <string, object> eventProperties) { GameAnalyticsWrapper.TrackProgressEvent(GAProgressionStatus.Start, level, null); }