Files
godot-website/collections/_release_4_5/entry-general-editor-drag-and-drop-resources-in-scripts-to-preload-by-uid-instead-of-by-path.md
Adam Scott 5387797774 Godot 4.5 release page
Huge thanks to JohnVeness, AThousandShips, and Meorge for their
great help rewording my broken English.
2025-09-15 16:03:40 -04:00

989 B
Raw Permalink Blame History

type, section, subsection, rank, importance, anchor, title, text, contributors, read_more, video_src, video_poster, media_position
type section subsection rank importance anchor title text contributors read_more video_src video_poster media_position
entry general editor 1 4 drag-and-drop-resources-in-scripts-to-preload-by-uid-instead-of-by-path Drag and drop ``@[Resource](enginetype)``s in scripts to preload by UID instead of by path With [Godot 4.4](/releases/4.4/#universal-uid-support), we extended UID support to more resource types in order to prevent broken paths. Scripts can now take advantage of this by preloading resources via their UID. You just have to drop the resource while holding `Ctrl` (`Cmd` on macOS). By using UIDs instead of paths for preloading, your scripts will be more resilient, wherever the resources youre preloading are in your project.
name github
Tomasz Chabora KoBeWi
https://github.com/godotengine/godot/pull/99094 /storage/releases/4.5/video/godot_drag-drop-resource.webm /storage/releases/4.5/video/godot_drag-drop-resource.webp bottom