Setting custom icon for file extensions using ScriptedImporter
The ScriptedImporter class is a welcome change. However, I'd like to have assets with a particular extension to have an associated icon - instead of the default Unity3D one. Is that possible?
It would be nice to have that wrapped into the ScriptedImporter attribute similar to this ...
It would be nice to have that wrapped into the ScriptedImporter attribute similar to this ...
Code (CSharp):
- // Custom importer for *.foo files
- [ScriptedImporter(1, "foo", "Assets/Path/To/Foo/Icon.png")]
- public class FooImporter : ScriptedImporter
- {
- // Importer details ...
- }