From c68948fdfaf154acc00b9b92f44875d8518957c4 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 13 Feb 2018 11:59:56 -0200 Subject: Expose priority and order for custom import plugins --- doc/classes/EditorImportPlugin.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/EditorImportPlugin.xml b/doc/classes/EditorImportPlugin.xml index 07d6f92274..85f3d80607 100644 --- a/doc/classes/EditorImportPlugin.xml +++ b/doc/classes/EditorImportPlugin.xml @@ -64,6 +64,13 @@ Get the options and default values for the preset at this index. Returns an Array of Dictionaries with the following keys: "name", "default_value", "property_hint" (optional), "hint_string" (optional), "usage" (optional). + + + + + Get the order of this importer to be run when importing resources. Higher values will be called later. Use this to ensure the importer runs after the dependencies are already imported. + + @@ -97,6 +104,13 @@ Get the name of the options preset at this index. + + + + + Get the priority of this plugin for the recognized extension. Higher priority plugins will be preferred. Default value is 1.0. + + -- cgit v1.2.3