Relocate add_root_node method to EditorInterface from EditorScript and deprecate old method

This commit is contained in:
robert yevdokimov committed 2025-08-05 17:23:57 +04:00
1 parent 8b2739ee55
commit 11a4961081
5 files changed
+38 -25

No files matched your search

+1 -1
View File
@@ -41,7 +41,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>