It’s the same with or without UGL installed.
You’d use wp_register_script and wp_enqueue_script and register the script with a dependency on jquery.
wp_register_script('jquery.plugin-name',
get_template_directory_uri() . '/js/jquery.plugin-name.js',
array('jquery'),
$jquery_plugin_version,
$in_footer);
Be sure to read the docs so you don’t use those functions in the wrong places (they should only be called from the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts actions):
https://codex.ww.wp.xz.cn/Function_Reference/wp_register_script
https://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
Be sure to test with and without UGL enabled.