Merge pull request #109049 from ryevdokimov/deprecate-script-add-root-node

Relocate `add_root_node` method to `EditorInterface` from `EditorScript` and deprecate old method
This commit is contained in:
Thaddeus Crews
2025-10-01 13:12:45 -05:00
5 changed files with 38 additions and 25 deletions

View File

@@ -40,7 +40,7 @@
This method is executed by the Editor when [b]File > Run[/b] is used.
</description>
</method>
<method name="add_root_node">
<method name="add_root_node" deprecated="Use [method EditorInterface.add_root_node] instead.">
<return type="void" />
<param index="0" name="node" type="Node" />
<description>