mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
This commit is contained in:
@@ -60,11 +60,10 @@
|
||||
Returns the edited (current) scene's root [Node].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_editor_main_control">
|
||||
<return type="Control" />
|
||||
<method name="get_editor_main_screen">
|
||||
<return type="VBoxContainer" />
|
||||
<description>
|
||||
Returns the main editor control. Use this as a parent for main screens.
|
||||
[b]Note:[/b] This returns the main editor control containing the whole editor, not the 2D or 3D viewports specifically.
|
||||
Returns the editor control responsible for main screen plugins and tools. Use it with plugins that implement [method EditorPlugin._has_main_screen].
|
||||
[b]Warning:[/b] Removing and freeing this node will render a part of the editor useless and may cause a crash.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user