Преглед изворни кода

Document find_node()'s owner argument behaviour

florian пре 7 година
родитељ
комит
c14e034f06
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -176,6 +176,7 @@
 			</argument>
 			</argument>
 			<description>
 			<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.
 				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>
 			</description>
 		</method>
 		</method>
 		<method name="get_child" qualifiers="const">
 		<method name="get_child" qualifiers="const">