mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Expose ScriptCreateDialog to EditorPlugin
This commit is contained in:
parent
0ffec7daf7
commit
2a6c591957
11 changed files with 91 additions and 4 deletions
|
|
@ -582,6 +582,9 @@ void ScriptCreateDialog::_bind_methods() {
|
|||
ClassDB::bind_method("_path_changed", &ScriptCreateDialog::_path_changed);
|
||||
ClassDB::bind_method("_path_entered", &ScriptCreateDialog::_path_entered);
|
||||
ClassDB::bind_method("_template_changed", &ScriptCreateDialog::_template_changed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("config", "inherits", "path"), &ScriptCreateDialog::config);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("script_created", PropertyInfo(Variant::OBJECT, "script", PROPERTY_HINT_RESOURCE_TYPE, "Script")));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue