public void LogShopBuyConfirmEvent(AnalyticsEnum type, string currentGameLevel) { Dictionary <string, object> eventProperty = new Dictionary <string, object>() { { "Current_game_lvl", currentGameLevel } }; _yandexAppMetrica.ReportEvent(type.ToString(), eventProperty); }
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); }
public void LogEvent(AnalyticsEnum eventType) { _yandexAppMetrica.ReportEvent(eventType.ToString()); }