Necesita usar TextureImporter para importar recursos, llame al siguiente código
TextureImporter importer = (TextureImporter)TextureImporter.GetAtPath(path);
importer.textureType = TextureImporterType.Sprite;
AssetDatabase.Refresh();
Necesita usar TextureImporter para importar recursos, llame al siguiente código
TextureImporter importer = (TextureImporter)TextureImporter.GetAtPath(path);
importer.textureType = TextureImporterType.Sprite;
AssetDatabase.Refresh();