Skip to content

Specify Resource types on import - #251

Open
Visssarion wants to merge 1 commit into
func-godot:mainfrom
Visssarion:main
Open

Specify Resource types on import#251
Visssarion wants to merge 1 commit into
func-godot:mainfrom
Visssarion:main

Conversation

@Visssarion

Copy link
Copy Markdown

Changes generic Resource string to specific string of imported resource.

This allows for EditorFileSystem.get_file_type() string comparison to detect a specific resource type.

@RhapsodyInGeek

Copy link
Copy Markdown
Contributor

Does this have any impact on exported projects?

@Visssarion

Copy link
Copy Markdown
Author

I don't think it does, as I understand that string is just a hint for Editor.

I checked this version on my game (exported build) and everything worked the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants