SVG asset variable

I’m using vector graphics package to import SVG’s. I want to assign them to an array. I know it’s possible with sprites. It’ll be something like:

public Sprite[] spriteArray;

I want to do the same with SVG’s. What’s the name of SVG variable? Can i create SVG array?

Hi, @Myshoo. Just use “Sprite” in your code.
In Unity editor set the game object to use SVGImage component. Then from your code, you can access the component using “GetComponent()”, and assign the desired sprite from the array.