|
@@ -98,10 +98,10 @@ initialize it:
|
|
|
.. code-tab:: gdscript GDScript
|
|
|
|
|
|
# Parent
|
|
|
- $Child.func_property = funcref(object_with_method, "method_on_the_object")
|
|
|
+ $Child.func_property = object_with_method.method_on_the_object
|
|
|
|
|
|
# Child
|
|
|
- func_property.call_func() # Call parent-defined method (can come from anywhere).
|
|
|
+ func_property.call() # Call parent-defined method (can come from anywhere).
|
|
|
|
|
|
.. code-tab:: csharp
|
|
|
|