Esempio n. 1
0
    /**
     * 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 LogEventWithParameters(string eventType, Dictionary <string, string> parameters)
    {
        InitializeEnhance();

                #if UNITY_EDITOR
        FGLEditorInternals.LogEventWithParameters(eventType, parameters);
                #elif UNITY_ANDROID
        FGLAndroidInternals.LogEventWithParameters(eventType, parameters);
                #elif UNITY_IOS
        FGLiOSInternals.LogEventWithParameters(eventType, parameters);
                #endif
    }