Use custom imported asset as texture property

Hi,

For quick context, I’m working on A Package that allows import support for Valve Texture files (.vtf).

I am currently trying to figure out how to allow the file to be dragged into texture object slots as if it was A PNG. I’ve seen the PSD Importer package do it so I know it’s possible, I just don’t know where to begin.

Any ideas? If you need me to elaborate on anything, lemme know.

You need to subclass ScriptedImporter and provide the file extension (.vtf) you want to use with that importer. Then you’re set up to write your importer code.