ScriptEditor
Godot editor’s script editor.
Note: This class shouldn’t be instantiated directly. Instead, access the singleton using .
- editor_script_changed ( Script script )
- script_close ( script )
Emitted when editor is about to close the active script. Argument is a Script that is going to be closed.
- get_current_script ( )
Returns a Script that is currently active in editor.
- get_drag_data_fw ( Vector2 point, from )
- Array get_open_scripts ( ) const
Goes to the specified line in the current script.
- void open_script_create_dialog ( base_name, String base_path )
Opens the script create dialog. The script will extend . The file extension can be omitted from base_path
. It will be added based on the selected scripting language.