From ed1f98a58edf65c52c3990317948f2a8de4d252e Mon Sep 17 00:00:00 2001 From: hpnrep6 <57055412+hpnrep6@users.noreply.github.com> Date: Sat, 19 Jun 2021 12:09:32 -0400 Subject: [PATCH] Rename generic C# function name to GDScript equivalent --- tutorials/best_practices/godot_interfaces.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/best_practices/godot_interfaces.rst b/tutorials/best_practices/godot_interfaces.rst index 360b833c8..79a8417cf 100644 --- a/tutorials/best_practices/godot_interfaces.rst +++ b/tutorials/best_practices/godot_interfaces.rst @@ -183,8 +183,8 @@ Nodes likewise have an alternative access point: the SceneTree. public class MyNode { - // Slow, dynamic lookup with dynamic NodePath. - public void Method1() + // Slow + public void DynamicLookupWithDynamicNodePath() { GD.Print(GetNode(NodePath("Child"))); } @@ -196,7 +196,7 @@ Nodes likewise have an alternative access point: the SceneTree. { Child = GetNode(NodePath("Child")); } - public void Method2() + public void LookupAndCacheForFutureAccess() { GD.Print(Child); }