0 votes

I have some assets (weapon models) that have a custom import script attached.
This script sets some shared shaders, create a new scene and a resource for each asset that I then use as items in my game.

Currently I have to select all those assets and them click "Re-import", but I would like to make it a one button process, as I do that for other things too, but I could not find a way to trigger the Re-import through a script.

Any tips?

Godot version 3.4.4.stable
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.