Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JorensM |
I wanted to know if it’s possible to extend a function, so that the new inherited function executed code from both the parent function and the new function.
For example, let’s say I have a node with the function do_something() that does action x
What I want is to create an inherited node with the function do_something() being extended to do something more. so it would do action a as well as action b
Answered already
https://forum.godotengine.org/57044/there-automatically-inherit-base-function-from-base-class
sash-rc | 2021-09-12 18:13