Replies: 1 comment 1 reply
-
Thanks for the proposal! There's a full proposal for this already (#10737), and an implementation PR (godotengine/godot#102789) I'll close this as a duplicate, feel free to comment on that proposal if you have anything to add |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Relevant Info
For those who aren't aware (I learned this days ago), instead of writing:
const MY_NODE = preload("res://path_to_node")
you can instead write:
const MY_NODE = preload("uid://node_id_here")
This powerful referencing system allows any node, such as scenes or custom resources, to be accessed by its UID. This means that moving the file will not break file references. Excellent!
My Proposal
Add the ability to paste a UID into the FileSystem search bar, and display the exact file attached to that UID along with any folders it's inside of (just like if you searched for it by exact name). This enhancement would mitigate forgetting what the path of the referenced file is. Instead of hunting for the right file through what may be a sea of similarly named ones, you could just paste the UID and go directly to it. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions