Fix function signature in EditorImportPlugin example
(cherry picked from commit cea00ebf58
)
This commit is contained in:
parent
7a59ef60ee
commit
e862643007
@ -30,10 +30,10 @@
|
||||
func _get_preset_count():
|
||||
return 1
|
||||
|
||||
func _get_preset_name(i):
|
||||
func _get_preset_name(preset_index):
|
||||
return "Default"
|
||||
|
||||
func _get_import_options(i):
|
||||
func _get_import_options(path, preset_index):
|
||||
return [{"name": "my_option", "default_value": false}]
|
||||
|
||||
func _import(source_file, save_path, options, platform_variants, gen_files):
|
||||
|
Loading…
Reference in New Issue
Block a user