Beispiel #1
0
        public void LogShopBuyConfirmEvent(AnalyticsEnum type, string currentGameLevel)
        {
            Dictionary <string, object> eventProperty = new Dictionary <string, object>()
            {
                { "Current_game_lvl", currentGameLevel }
            };

            _yandexAppMetrica.ReportEvent(type.ToString(), eventProperty);
        }
Beispiel #2
0
        public void LogSettingsOnOf(AnalyticsEnum music, bool isOn)
        {
            string actionText = isOn ? "on" : "off";
            Dictionary <string, object> eventProperty = new Dictionary <string, object>()
            {
                { "on/off", actionText },
            };

            _yandexAppMetrica.ReportEvent(music.ToString(), eventProperty);
        }
Beispiel #3
0
 public void LogEvent(AnalyticsEnum eventType)
 {
     _yandexAppMetrica.ReportEvent(eventType.ToString());
 }