diff --git a/editor/inspector/editor_resource_tooltip_plugins.cpp b/editor/inspector/editor_resource_tooltip_plugins.cpp index 8ef694f5fb1..f35549cc8aa 100644 --- a/editor/inspector/editor_resource_tooltip_plugins.cpp +++ b/editor/inspector/editor_resource_tooltip_plugins.cpp @@ -85,6 +85,12 @@ VBoxContainer *EditorResourceTooltipPlugin::make_default_tooltip(const String &p Label *label = memnew(Label(vformat(TTR("Type: %s"), type))); vb->add_child(label); } + + Ref da = DirAccess::create(DirAccess::ACCESS_RESOURCES); + if (da->is_link(p_resource_path)) { + Label *link = memnew(Label(vformat(TTR("Link to: %s"), da->read_link(p_resource_path)))); + vb->add_child(link); + } return vb; }