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