You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Allow to name built-in scripts upon creation
This commit is contained in:
@@ -57,6 +57,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
||||
OptionButton *language_menu;
|
||||
OptionButton *template_menu;
|
||||
LineEdit *file_path;
|
||||
LineEdit *internal_name;
|
||||
Button *path_button;
|
||||
EditorFileDialog *file_browse;
|
||||
CheckBox *internal;
|
||||
@@ -81,6 +82,9 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
||||
int default_language;
|
||||
bool re_check_path;
|
||||
|
||||
Control *path_controls[2];
|
||||
Control *name_controls[2];
|
||||
|
||||
enum ScriptOrigin {
|
||||
SCRIPT_ORIGIN_PROJECT,
|
||||
SCRIPT_ORIGIN_EDITOR,
|
||||
|
||||
Reference in New Issue
Block a user