unity3d - Import .ai (illustrator file) in Unity and display them
问题描述
I want to load an illustrator file in my game. Unity should recognize different layers, colors, and forms, and layers with text and display them in a 2d canvas. The goal is that the players can click on different forms and that unity recognize them as individual forms. Do you know any unity asset or a way to make this possible? For example when you import an image like this as an illustrator file -> https://www.mandala-bilder.de/mandala/erwachsenemandalas/mandala-ideen-erwachsene.pdf I thought about an SVG file but then I can´t use the different layers.
解决方案
Illustrator 具有专有文件格式,它没有针对较新版本的公开可用文档。虽然您可以挖掘旧规范(这就是为什么有些程序只支持保存在古代版本中的 AI 文件)http://www.idea2ic.com/File_Formats/Adobe%20Illustrator%20File%20Format.pdf我不认为你可以进入并开始支持 2021 变体,而无需向 Adobe 请求(和激励)规范。他们可能还想为此向您收费。另一方面,SVG 是免费的,它的规范是公开的,因此得到了广泛的支持。SVG 还支持可以满足您对图层的需求的组
推荐阅读
- google-cloud-platform - CreateAssessment() 上的 Google.Cloud.RecaptchaEnterprise 错误-“请求包含无效参数”
- c# - 未调用自定义 AuthorizationHandler
- python - 如何在 Mac 上解决这个 Selenium 异常,上面写着“无法访问 chrome”?
- typescript - React Native 中的状态不更新
- python - Flask SQLAlchemy 按字段值和外键关系过滤记录
- asp.net - asp.net core 3.1 sendgrid不发送电子邮件
- ios - 如何将 UIImageView 向后旋转到屏幕中?
- java - Android:在水平 recyclerView 中有 TextView 宽度匹配 ImageView
- reactjs - 如何使用 create-react-app 解决 app create 中的 postcss 漏洞
- node.js - npm version patch -m 'Increased app version for next release' --force 失败