/** * Log custom analytics event * * @param eventType event type (for instance 'level_completed') * @param paramKey parameter key (for instance 'level') * @param paramValue parameter value (for instance '3') */ public static void LogEvent(string eventType, string paramKey, string paramValue) { InitializeEnhance(); #if UNITY_EDITOR FGLEditorInternals.LogEvent(eventType, paramKey, paramValue); #elif UNITY_ANDROID FGLAndroidInternals.LogEvent(eventType, paramKey, paramValue); #elif UNITY_IOS FGLiOSInternals.LogEvent(eventType, paramKey, paramValue); #endif }