Now that you mention it, I think there are no direct examples of how to do it for 3D,
For simple systems you can do the same as on http://docs.godotengine.org/en/3.0/getting_started/step_by_step/ui_game_user_int... you will work on a 2D viewport but controls will be shown over the 3D one when running if is inside the same scene.