diff options
| author | Rémi Verschelde | 2017-08-21 23:21:47 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-21 23:21:47 +0200 |
| commit | d37bd15cb92295ef22731a2ab171d0647ff541db (patch) | |
| tree | 5364852006018d2d2b59a97c8f5d51c919ef4c82 /doc | |
| parent | c9b0787724474d1740abd5638b3eb4e7a8e94192 (diff) | |
| parent | 390f7def39a6ff9a34a3a85f6b180d341b52d869 (diff) | |
| download | godot-d37bd15cb92295ef22731a2ab171d0647ff541db.tar.gz godot-d37bd15cb92295ef22731a2ab171d0647ff541db.tar.zst godot-d37bd15cb92295ef22731a2ab171d0647ff541db.zip | |
Merge pull request #10443 from karroffel/propagate_call
add "propagate_call" method to Node
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/base/classes.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 2912a3f0a..570d90f81 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -26542,6 +26542,17 @@ Notify the current node and all its children recursively by calling notification() in all of them. </description> </method> + <method name="propagate_call"> + <argument index="0" name="method" type="String"> + </argument> + <argument index="1" name="args" type="Array" default="[]"> + </argument> + <argument index="2" name="parent_first" type="bool" default="false"> + </argument> + <description> + Calls the method (if present) with the arguments given in "args" on this Node and recursively on all children. If the parent_first argument is true then the method will be called on the current [Node] first, then on all children. If it is false then the children will get called first. + </description> + </method> <method name="queue_free"> <description> </description> |
