Просмотр исходного кода

doc: Mention get_node in Node.get_child documentation

See #22052.
Rémi Verschelde 7 лет назад
Родитель
Сommit
ebc07ad5a2
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -185,6 +185,7 @@
 			</argument>
 			</argument>
 			<description>
 			<description>
 				Returns a child node by its index (see [method get_child_count]). This method is often used for iterating all children of a node.
 				Returns a child node by its index (see [method get_child_count]). This method is often used for iterating all children of a node.
+				To access a child node via its name, use [method get_node].
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_child_count" qualifiers="const">
 		<method name="get_child_count" qualifiers="const">