Expose ResourceImporter::get_format_version via EditorImportPlugin::_get_format_version()

This commit is contained in:
David Snopek
2024-09-10 10:29:15 -05:00
parent 97ef3c8372
commit af47df1005
3 changed files with 17 additions and 0 deletions
+6
View File
@@ -127,6 +127,12 @@
If this method is not overridden, it will return [code]true[/code] by default (i.e., safe for parallel importing).
</description>
</method>
<method name="_get_format_version" qualifiers="virtual const">
<return type="int" />
<description>
Gets the format version of this importer. Increment this version when making incompatible changes to the format of the imported resources.
</description>
</method>
<method name="_get_import_options" qualifiers="virtual const">
<return type="Dictionary[]" />
<param index="0" name="path" type="String" />