Skip to content

Commit

Permalink
Implement EditorImportPlugin get priority virtual call
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubonnek committed Apr 26, 2024
1 parent 4cec657 commit e24a3a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e24a3a5

Please sign in to comment.