Clarify that replace_by keeps child nodes in tree
(cherry picked from commit 98a3948bf9
)
This commit is contained in:
parent
4f284893a6
commit
8e29a37800
1 changed files with 2 additions and 1 deletions
|
@ -521,7 +521,8 @@
|
|||
<argument index="1" name="keep_data" type="bool" default="false" />
|
||||
<description>
|
||||
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.
|
||||
Note that the replaced node is not automatically freed, so you either need to keep it in a variable for later use or free it using [method Object.free].
|
||||
[b]Note:[/b] The given node will become the new parent of any child nodes that the replaced node had.
|
||||
[b]Note:[/b] The replaced node is not automatically freed, so you either need to keep it in a variable for later use or free it using [method Object.free].
|
||||
</description>
|
||||
</method>
|
||||
<method name="request_ready">
|
||||
|
|
Loading…
Reference in a new issue