Important
ThorVG-Unity has now moved to thorvg/thorvg.unity
✨ Bringing Lottie Animations to Unity using ThorVG!
- Add the
TvgPlayercomponent to any object. It will then be rendered usingSpriteComponent. It's that simple!
- Windows
- MacOS
- Linux
ThorVG has already been included in the plugin, but in case you want to build it yourself, here's how:
-
- Windows:
pip install meson ninja - MacOS:
brew install meson - Linux:
sudo apt install meson
- Windows:
-
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/srctoThorVG-Unity/Pluginsin your Unity Project
