Replies: 3 comments 1 reply
-
Got the same idea, down to the modifier key. Dragging multiple scripts could create multiple child nodes. Curious to hear what more people think about this |
Beta Was this translation helpful? Give feedback.
-
hey, this is already possible. just ctrl+drag and drop a script. |
Beta Was this translation helpful? Give feedback.
-
If anything, the fact that I didn't know the feature existed, opened a discussion, people passed by, upvoted, and nobody told me until now... It tells me that this is not easy to discover. So I have posted about it here: godotengine/godot-docs#4377 I'm closing the discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've found myself wanting to drag a script from the FileSystem to the Scene to add a new Node of the appropriate type for the script and with it attached.
However, dragging a script to the Scene attaches the script to an existing Node, which is not what I want.
Thus, I imagine that it could be implemented with key combination (e.g. holding Ctrl).
And if a Script that does not extend a Node type is dragged to the Scene, it should fail, preferably with an error message.
Currently it is possible to attach a Resource script to a Node. But running an scene where such script is attached to a Node will fail.
Beta Was this translation helpful? Give feedback.
All reactions