From a225265b0a7308f0856c953f57168c490d54995e Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 14 Apr 2020 22:09:21 +0200 Subject: Document how some editor classes should be accessed as singletons only This closes #37687. --- doc/classes/ScriptEditor.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes/ScriptEditor.xml') diff --git a/doc/classes/ScriptEditor.xml b/doc/classes/ScriptEditor.xml index 10d6e5f578..f0ad781f77 100644 --- a/doc/classes/ScriptEditor.xml +++ b/doc/classes/ScriptEditor.xml @@ -4,6 +4,7 @@ Godot editor's script editor. + [b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorInterface.get_script_editor]. -- cgit v1.2.3