Search Unity

AkyuiUnity.Xd - Generate Unity Prefab from Adobe XD

Discussion in 'Assets and Asset Store' started by kyubuns, Feb 15, 2021.

  1. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138



    WATCH "HOW TO USE" MOVIE!!
    The official subtitles are only available in Japanese, but you can use the automatic English translation.




    Caution!

    AkyuiUnity is in preview version, so its behavior may change significantly with future updates.


    Features

    Everything done on Unity

    - There's no need to open Adobe XD to import XD files.
    - 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
    https://github.com/kyubuns/AkyuiUnity/blob/main/Manual/Manual_en.md


    Installation
    Install 2packages, via UnityPackageManager.
    - AkyuiUnity `https://github.com/kyubuns/AkyuiUnity.git?path=Assets/AkyuiUnity`
    - AkyuiUnity.Xd `https://github.com/kyubuns/AkyuiUnity.git?path=Assets/AkyuiUnity.Xd`


    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


    Planning
    - When I think it's stable, I'll make it 1.0.0. (Beginning of May)
    - Publish on AssetStore
     
    mgear, Geodeblock, GibTreaty and 3 others like this.
  2. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    It's been a year since my last post, and the version is now 1.3.2.
    It now supports gradients and polygon objects, which were not supported a year ago, and it is now possible to bring screens created in XD to Unity almost perfectly.
    Please give it a try.
     

    Attached Files:

  3. joshua-jebadurai

    joshua-jebadurai

    Joined:
    Jul 3, 2009
    Posts:
    14
    Great looking tool. We been trying to make a tool like this.
     
  4. heyuanling520

    heyuanling520

    Joined:
    Jan 15, 2024
    Posts:
    3
    - Automatically convert materials to 9SliceSprite to reduce textures.

    ;)Can you give me this trigger? Thanks
     
  5. heyuanling520

    heyuanling520

    Joined:
    Jan 15, 2024
    Posts:
    3
    There is a string of random characters after the name of the image resource imported into the project. Can this be removed?
     
  6. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
  7. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    Since it is possible to create another layer with the same name on XD, we assign a unique string.
    Therefore, unfortunately, there is no standard function to delete them.
     
  8. heyuanling520

    heyuanling520

    Joined:
    Jan 15, 2024
    Posts:
    3