Add ability to copy/paste node signals to other nodes. #7738
Replies: 2 comments 1 reply
-
If it's specifically for buttons, I think you could probably create one, duplicate it a bunch of times, and then have several buttons with the same signal connection. I guess if they aren't in something like a That being said, if instead of several buttons you were trying to add one signal handler to several nodes of different types, duplicating doesn't seem to fix that. And while one could still add those signal connections manually a bunch of times, I do think being able to copy-paste them would save Godot users more time than I think it would take Godot developers to implement it. |
Beta Was this translation helpful? Give feedback.
-
a trait system is on the milestone that would allow for that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes you have multiple nodes that all need the same exact Signals. Currently, you have to go thru each Node, find the right signal, find the right method from your script, and then input the right argument for that method.
This is very tedious, and would be much faster if we could set up the Signal for one node, then click Copy Signal from a context menu, then pasting that Signal onto a new node from the context menu again.
Here's a simple use case:
You have 10 UI buttons, and you want to assign a "button hover" sound when mouse enters the button. You would have to assign the Signals 10 times, one for each button. Instead, it would be easier to set up the Signal once for a button, then copy/paste to all other buttons.
Beta Was this translation helpful? Give feedback.
All reactions