diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-01-11 19:27:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 19:27:04 +0300 |
commit | f73cb4c13d1bc19b044fbef735522e3b0249e8ab (patch) | |
tree | 096cc325c0ec1050b205a3096efae944ac2b2bda /modules | |
parent | 2ac2db8de5289b4f097eac89485d95d8e5281a84 (diff) | |
parent | 6137929f52806d4c08286011c942c8705a1ac59b (diff) |
Merge pull request #71168 from guilleatm/master
Improve description of `GetNodeOrDefault` in C# API
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/NodeExtensions.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/NodeExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/NodeExtensions.cs index 03996bafdd..8325af034c 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/NodeExtensions.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/NodeExtensions.cs @@ -48,13 +48,8 @@ namespace Godot } /// <summary> - /// Fetches a node. The <see cref="NodePath"/> can be either a relative path (from - /// the current node) or an absolute path (in the scene tree) to a node. If the path - /// does not exist, a <see langword="null"/> instance is returned and an error - /// is logged. Attempts to access methods on the return value will result in an - /// "Attempt to call <method> on a null instance." error. - /// Note: Fetching absolute paths only works when the node is inside the scene tree - /// (see <see cref="IsInsideTree"/>). + /// Similar to <see cref="GetNode"/>, but does not log an error if <paramref name="path"/> + /// does not point to a valid <see cref="Node"/>. /// </summary> /// <example> /// Example: Assume your current node is Character and the following tree: |