Allow export plugins to override export option values
This commit is contained in:
parent
f317cc713a
commit
ac88acde6f
7 changed files with 83 additions and 1 deletions
|
|
@ -285,6 +285,12 @@ String EditorExportPlugin::_get_export_option_warning(const Ref<EditorExportPlat
|
|||
return ret;
|
||||
}
|
||||
|
||||
Dictionary EditorExportPlugin::_get_export_options_overrides(const Ref<EditorExportPlatform> &p_platform) const {
|
||||
Dictionary ret;
|
||||
GDVIRTUAL_CALL(_get_export_options_overrides, p_platform, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void EditorExportPlugin::_export_file(const String &p_path, const String &p_type, const HashSet<String> &p_features) {
|
||||
}
|
||||
|
||||
|
|
@ -327,6 +333,7 @@ void EditorExportPlugin::_bind_methods() {
|
|||
GDVIRTUAL_BIND(_end_customize_resources);
|
||||
|
||||
GDVIRTUAL_BIND(_get_export_options, "platform");
|
||||
GDVIRTUAL_BIND(_get_export_options_overrides, "platform");
|
||||
GDVIRTUAL_BIND(_should_update_export_options, "platform");
|
||||
GDVIRTUAL_BIND(_get_export_option_warning, "platform", "option");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue