gindemit / unity-rlottie

Unity library that plays Lottie Animation to Texture2D
MIT License
147 stars 23 forks source link

Loaded image is flipped 180 on the x-axis #10

Closed MunWeiKhong closed 6 months ago

MunWeiKhong commented 1 year ago

image

After placing the a file that has been converted from .json to .txt file into the AnimationJson of AnimatedImage script, the the image is loaded and runs the animation, but it is flipped 180 on the x-axis

gindemit commented 1 year ago

Hey @MunWeiKhong, thanks for the report! Right now to fix this issue, please make the Y scale of your RawImage game object transform "-1". Like on this screenshot: image

MunWeiKhong commented 1 year ago

Thanks for dropping info for a temporary fix. Will leave this issue as open until a proper fix has been implemented.