Skip to content
This repository was archived by the owner on Nov 8, 2025. It is now read-only.
/ ThorVG-Unity Public archive

Bringing Lottie Animations to Unity using ThorVG

Notifications You must be signed in to change notification settings

BenjaminHalko/ThorVG-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Important

ThorVG-Unity has now moved to thorvg/thorvg.unity

ThorVG-Unity

✨ Bringing Lottie Animations to Unity using ThorVG!

Melting

How to Use

  • Add the TvgPlayer component to any object. It will then be rendered using SpriteComponent. It's that simple!

Supported Platforms

  • Windows
  • MacOS
  • Linux

Development

Compiling ThorVG

ThorVG has already been included in the plugin, but in case you want to build it yourself, here's how:

  • Install Meson and Ninja

    • Windows: pip install meson ninja
    • MacOS: brew install meson
    • Linux: sudo apt install meson
  • Download & Compile ThorVG:

git clone https://github.com/thorvg/thorvg.git --depth 1 --branch v1.0-pre30
cd thorvg
meson setup build -Dbindings=capi -Dloaders="lottie,svg,png,jpg,webp" -Dthreads=false -Dfile=false -Dpartial=false -Dextra= -Dbuildtype=release
meson compile -C build
  • Copy the built library from build/src to ThorVG-Unity/Plugins in your Unity Project

About

Bringing Lottie Animations to Unity using ThorVG

Topics

Resources

Stars

Watchers

Forks

Languages