Exemple #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);
        }
Exemple #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);
        }
Exemple #3
0
 public void LogEvent(AnalyticsEnum eventType)
 {
     _yandexAppMetrica.ReportEvent(eventType.ToString());
 }