ソースを参照

Merge pull request #22674 from Dragoncraft89/find_node

Document find_node()'s owner argument behaviour
Rémi Verschelde 7 年 前
コミット
75fceb37f8
1 ファイル変更1 行追加0 行削除
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -176,6 +176,7 @@
 			</argument>
 			<description>
 				Finds a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names.
+				If [code]owned[/code] is [code]true[/code], this method only finds nodes whose owner is this node. This is especially important for scenes instantiated through script, because those scenes don't have an owner.
 			</description>
 		</method>
 		<method name="get_child" qualifiers="const">