We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 465c6dd + 3e51449 commit c924ee8Copy full SHA for c924ee8
tutorials/best_practices/scene_organization.rst
@@ -104,10 +104,10 @@ initialize it:
104
.. code-tab:: csharp
105
106
// Parent
107
- GetNode("Child").Set("FuncProperty", GD.FuncRef(ObjectWithMethod, "MethodOnTheObject"));
+ GetNode("Child").Set("FuncProperty", Callable.From(ObjectWithMethod.MethodOnTheObject));
108
109
// Child
110
- FuncProperty.CallFunc(); // Call parent-defined method (can come from anywhere).
+ FuncProperty.Call(); // Call parent-defined method (can come from anywhere).
111
112
4. Initialize a Node or other Object reference.
113
0 commit comments