You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Add option to disable loading scripts in ScriptCreateDialog
This commit is contained in:
@@ -74,6 +74,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
||||
bool is_class_name_valid;
|
||||
bool is_built_in;
|
||||
bool built_in_enabled;
|
||||
bool load_enabled;
|
||||
int current_language;
|
||||
int default_language;
|
||||
bool re_check_path;
|
||||
@@ -126,7 +127,7 @@ protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
void config(const String &p_base_name, const String &p_base_path, bool p_built_in_enabled = true);
|
||||
void config(const String &p_base_name, const String &p_base_path, bool p_built_in_enabled = true, bool p_load_enabled = true);
|
||||
void set_inheritance_base_type(const String &p_base);
|
||||
ScriptCreateDialog();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user