add stylesheet & JavaScript to theme or child theme or plugin

wp_enqueue_style('my_css_name', get_template_directory_uri() . '/css/my.css');

…funktioniert prima im Theme. Aber in einem Child Theme gibt es den Pfad des Eltern-Theme raus.
Also:

wp_enqueue_style('my_css_name', get_stylesheet_directory_uri() . '/css/my.css');

bzw.:

wp_enqueue_script('my_js_name', get_stylesheet_directory_uri() . '/js/my.js');

in einem Child Theme.