Rename EditorInterface.get_editor_main_control to get_editor_main_screen

This commit is contained in:
Yuri Sizov
2022-09-07 02:30:54 +03:00
parent 432c4c40a9
commit 1459507ed2
21 changed files with 38 additions and 38 deletions

View File

@@ -303,7 +303,7 @@
func _enter_tree():
plugin_control = preload("my_plugin_control.tscn").instantiate()
get_editor_interface().get_editor_main_control().add_child(plugin_control)
get_editor_interface().get_editor_main_screen().add_child(plugin_control)
plugin_control.hide()
func _has_main_screen():