Import Vector Graphics into Unity 2018.2! - SVG Support
You can check out more about Unity's SVG support here:
You can download Unity Hub from here:
Scalable Vector Graphics can offer efficiency gains in performance, and file size, when making games! Therefore, we are introducing an SVG file importer in Unity 2018.2.
In this video, we'll take a quick look at how we can start using SVG assets in our games, and how the feature works.
This feature lets you import Scalable Vector Graphics (SVG) directly into your projects. The SVG Importer allows you to create sprite assets with a very small file size that will retain their quality at any resolution.
The SVG importer supports the most common features of the SVG 1.1 specification, such as gradients, fills, clipping paths, dashed lines, and rounded corners. Vector graphics sprites imported in this manner are supported by the Unity 2D tools.
Once an SVG file is imported, the vector data is tessellated into triangles and a sprite is generated. This sprite can then be used by the 2D system. The source for the SVG Importer can be found in the Editor folder of the package.
Get the SVG Importer as part of the Vector Graphics Preview package from the Package Manager.