Relocate add_root_node method to EditorInterface from EditorScript and deprecate old method
This commit is contained in:
parent
8b2739ee55
commit
11a4961081
5 changed files with 38 additions and 25 deletions
|
|
@ -19,6 +19,13 @@
|
|||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_root_node">
|
||||
<return type="void" />
|
||||
<param index="0" name="node" type="Node" />
|
||||
<description>
|
||||
Makes [param node] root of the currently opened scene. Only works if the scene is empty. If the [param node] is a scene instance, an inheriting scene will be created.
|
||||
</description>
|
||||
</method>
|
||||
<method name="close_scene">
|
||||
<return type="int" enum="Error" />
|
||||
<description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue