|Topic was automatically imported from the old Question2Answer platform.
I am trying to create different buttons with different functionality, which should be easy except the inheritance thing makes one global script for the Button node.
Why can’t I say, that this node’s script is specific to this node? Otherwise I will have to, as I see it, create a lot of IF statement in _on_button_pressed().
I realize I probably missed something important about the inheritance structure and how to navigate it, but from what I’ve read so far it doesn’t make sense.
Any documentation or some kind of insight would be nice.