2
0
Эх сурвалжийг харах

Add documentation for EditorPlugin's build method

(cherry picked from commit 724ed8821593329b64ac1d0820d054fdf8890bd2)
Yuri Sizov 4 жил өмнө
parent
commit
57e57872fd

+ 2 - 0
doc/classes/EditorPlugin.xml

@@ -155,6 +155,8 @@
 			<return type="bool">
 			</return>
 			<description>
+				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.
 			</description>
 		</method>
 		<method name="clear" qualifiers="virtual">