mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
Huge thanks to JohnVeness, AThousandShips, and Meorge for their great help rewording my broken English.
989 B
989 B
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 you’re preloading are in your project. |
|
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 |