Skip to content

octo127/AkyuiUnity

 
 

Repository files navigation

AkyuiUnity

AkyuiUnity is a Unity implementation of Akyui.
With AkyuiUnity.Xd, you can easily generate Unity Prefab from Adobe XD files.

Read this document in other languages: 日本語

Buy Me A Coffee


What is AkyuiUnity / AkyuiUnity.Xd?

Akyui is a UI definition file format created by kyubuns.
AkyuiUnity is able to generate UnityPrefab from Akyui, and
AkyuiUnity.Xd can convert XD files to Akyui.
By combining the two, you can generate UnityPrefab from XD files without being aware of Akyui.

Features

Everything done on Unity

  • Just drag and drop your XD files.
    • There's no need to open Adobe XD to import.
  • Since everything is done in Unity, it can be left to CI and others.

Follow XD file updates

  • Designers can continue to work on the UI in Adobe XD.
  • Since only the differences are imported, the import time is reduced after the second import.

No runtime effect

  • AkyuiUnity only creates the prefab, no cost at runtime.

Highly customizable

  • You can easily write your own triggers (extension scripts) to generate a Prefab that fits your project.
    • For example, you can use the triggers included in the package to do the following
      • Automatically convert materials to 9SliceSprite to reduce textures.
      • Use TextMeshPro instead of uGUI's Text.
      • Do not convert objects with specific names on XD files to Unity.

Users' Manual

Installation

UnityPackageManager

  • AkyuiUnity https://github.com/kyubuns/AkyuiUnity.git?path=Assets/AkyuiUnity
  • AkyuiUnity.Xd https://github.com/kyubuns/AkyuiUnity.git?path=Assets/AkyuiUnity.Xd

Target Environment

  • Unity2019.4 or later

License

MIT License (see LICENSE)

SpecialThanks

Buy me a coffee

Are you enjoying save time?
Buy me a coffee if you love my code!
https://www.buymeacoffee.com/kyubuns

"I used it for this game!"

I'd be happy to receive reports like "I used it for this game!"
Please contact me by email, twitter or any other means.
(This library is MIT licensed, so reporting is NOT mandatory.)
Message Form

https://kyubuns.dev/

About

Adobe XD to Akyui to Unity UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 92.4%
  • ShaderLab 6.5%
  • HLSL 1.1%