1
0
Fork 0

Mention that replace_by doesn't free the node

(cherry picked from commit 58a3ea5453)
This commit is contained in:
kobewi 2021-11-23 12:53:31 +01:00 committed by Rémi Verschelde
parent b8f888a43b
commit f5ea27e587
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -521,6 +521,7 @@
<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].
</description>
</method>
<method name="request_ready">