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.
1 parent 9939c90 commit 3e51449Copy full SHA for 3e51449
tutorials/best_practices/scene_organization.rst
@@ -106,10 +106,10 @@ initialize it:
106
.. code-tab:: csharp
107
108
// Parent
109
- GetNode("Child").Set("FuncProperty", GD.FuncRef(ObjectWithMethod, "MethodOnTheObject"));
+ GetNode("Child").Set("FuncProperty", Callable.From(ObjectWithMethod.MethodOnTheObject));
110
111
// Child
112
- FuncProperty.CallFunc(); // Call parent-defined method (can come from anywhere).
+ FuncProperty.Call(); // Call parent-defined method (can come from anywhere).
113
114
4. Initialize a Node or other Object reference.
115
0 commit comments