From 724ed8821593329b64ac1d0820d054fdf8890bd2 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Fri, 19 Feb 2021 15:42:22 +0300 Subject: [PATCH] Add documentation for EditorPlugin's build method --- doc/classes/EditorPlugin.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index be21ad65c59..a20ecf6dff0 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -169,6 +169,8 @@ + This method is called when the editor is about to run the project. The plugin can then perform required operations before the project runs. + This method must return a boolean. If this method returns [code]false[/code], the project will not run. The run is aborted immediately, so this also prevents all other plugins' [method build] methods from running.