Closed eb0KrY4k closed 2 years ago
Please add the ability to import in SVG format. https://docs.unity3d.com/Packages/com.unity.vectorgraphics@2.0/manual/index.html
Added. Try it.
Hello @ManakhovN , The following error now appears since your last commit and i guess its related :
Library\PackageCache\com.manakhovn.figma_to_unity_importer@d4ecf1dfb5\Editor\ImageUtils.cs(5,13): error CS0234: The type or namespace name 'VectorGraphics' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
I would say the problem is here : https://github.com/ManakhovN/FigmaToUnityImporter/blob/d4ecf1dfb5a9ec2858639fea1244bbc0585decf8/Assets/FigmaImporter/Editor/ImageUtils.cs#L5
This using clause should not exist when the user doesn't have VectorGraphics@2.0 in its dependencies.
@barnabe-perspectives Oh, you are right. My bad. Pushed changes. Must be fixed now.
Please add the ability to import in SVG format. https://docs.unity3d.com/Packages/com.unity.vectorgraphics@2.0/manual/index.html