simonoliver / UnityFigmaBridge

Easily bring your Figma Documents, Components, Assets and Prototypes to Unity
MIT License
385 stars 41 forks source link

[BUG]EasingType elements seem to be missing #11

Closed SatoruUeda closed 1 year ago

SatoruUeda commented 1 year ago

Describe the bug Error occurs during Document conversion when QUICK is used for Easing in Figma's Prototype Flow.

I added a QUICK definition and the conversion was successful. But I am not sure if this is enough. https://github.com/simonoliver/UnityFigmaBridge/blob/main/UnityFigmaBridge/Editor/FigmaApi/FigmaApiData.cs#L550

image

Version Unity Version: 2022.2.1f1 Platform: MacOS 12.6 Rendering Pipeline: URP 14.0.4

simonoliver commented 1 year ago

@SatoruUeda Thanks for the report - yep your suggestion works great. I've also added some more missing Easing types to the API in the latest commit.