FuncRef
Reference to a function in an object.
In GDScript, functions are not first-class objects. This means it is impossible to store them directly as variables, return them from another function, or pass them as arguments.
The name of the referenced function.
- call_func ( … ) vararg
Calls the referenced function previously set in function or .
- Variant call_funcv ( arg_array )
Returns whether the object still exists and has the function assigned.
- void set_instance ( Object instance )
The object containing the referenced function. This object must be of a type actually inheriting from , not a built-in type such as int, or Dictionary.