diff --git a/editor/inspector/editor_resource_tooltip_plugins.cpp b/editor/inspector/editor_resource_tooltip_plugins.cpp index 87c62f2e96..a60cae1120 100644 --- a/editor/inspector/editor_resource_tooltip_plugins.cpp +++ b/editor/inspector/editor_resource_tooltip_plugins.cpp @@ -81,6 +81,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; }