如何将SVG导入Unity 2018.2 [英] How to import SVG to Unity 2018.2

查看:119
本文介绍了如何将SVG导入Unity 2018.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Unity的路线图指出,我们应该能够在Unity 2018.2.中导入SVG.
我有Unity 2018.2.3,但无法将SVG用于Unity.Unity无法识别它们是精灵.
请任何人告诉我如何统一导入/使用SVG.

解决方案

由于

矢量图形软件包当前处于预览阶段.您必须在Unity 2019的高级设置中启用预览包.

从Unity 2020开始,预览包"设置已更改.观看此40秒演示

转到 edit ->项目设置-> Package Manager ->选中启用预览包

Unity's roadmap stated that we should be able to import SVG in Unity 2018.2.
I have Unity 2018.2.3, but I couldn't use SVGs to Unity. Unity doesn't recognize they are sprites.
Please can anyone tell me how to import/use SVGs in unity.

解决方案

A picture tells thousand words thanks to 44 second demo

Go to Windows -> Package Manager in Unity 2019

Vector Graphic package is currently in the preview stage. You have to enable preview packages in advance settings in unity 2019.

Edit:

From Unity 2020, the Preview Package setting has changed. Watch this 40 second Demo

Go to edit -> Project Settings -> Package Manager -> Check Enable Preview Package

这篇关于如何将SVG导入Unity 2018.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆