diff --git a/godot3/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd b/godot3/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd index 73782cd..1afc171 100644 --- a/godot3/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd +++ b/godot3/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd @@ -36,6 +36,11 @@ func get_visible_name() -> String: return "GDX Atlas" +# Returns the processing priority of the plugin. Higher priority import plugins will be preferred over the recognized extension. +func get_priority() -> float: + return 1.0 + + # Godot's import system detects file types by their extension. In the # get_recognized_extensions() method you return an array of strings to # represent each extension that this plugin can understand. diff --git a/godot4/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd b/godot4/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd index 7a7fd46..3462c41 100644 --- a/godot4/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd +++ b/godot4/addons/rubonnek.gdx_texture_packer_atlas_importer/gdx_texture_packer_import_plugin.gd @@ -36,6 +36,11 @@ func _get_visible_name() -> String: return "GDX Atlas" +# Returns the processing priority of the plugin. Higher priority import plugins will be preferred over the recognized extension. +func _get_priority() -> float: + return 1.0 + + # Godot's import system detects file types by their extension. In the # get_recognized_extensions() method you return an array of strings to # represent each extension that this plugin can understand.