mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 14:41:07 +00:00
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
This commit is contained in:
parent
9905002fa6
commit
e218a13a64
14 changed files with 60 additions and 10 deletions
|
|
@ -62,6 +62,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
|||
bool is_new_script_created;
|
||||
bool is_path_valid;
|
||||
bool has_named_classes;
|
||||
bool supports_built_in;
|
||||
bool can_inherit_from_file;
|
||||
bool is_parent_name_valid;
|
||||
bool is_class_name_valid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue