Run game signal for tool script

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By J-Camilleri

Is there a signal that is emitted when the developer presses run in the editor? I want my script to fire before the game is run. Using ingame _ready is not ideal because I want to save changed, a sort of compile time process.

Moreover is there any list of signals exposed for tools scripts? I can’t find any such list anywhere.

:bust_in_silhouette: Reply From: rainlizard

Use the method called build() in EditorPlugin.