首页 > 解决方案 > 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.

标签: unity3dsvgimportgame-engineadobe-illustrator

解决方案


Illustrator 具有专有文件格式,它没有针对较新版本的公开可用文档。虽然您可以挖掘旧规范(这就是为什么有些程序只支持保存在古代版本中的 AI 文件)http://www.idea2ic.com/File_Formats/Adobe%20Illustrator%20File%20Format.pdf我不认为你可以进入并开始支持 2021 变体,而无需向 Adob​​e 请求(和激励)规范。他们可能还想为此向您收费。另一方面,SVG 是免费的,它的规范是公开的,因此得到了广泛的支持。SVG 还支持可以满足您对图层的需求的组


推荐阅读