https://github.com/benjaminhalko/thorvg-unity
Bringing Lottie Animations to Unity using ThorVG
https://github.com/benjaminhalko/thorvg-unity
lottie lottie-animation thorvg unity-package
Last synced: 2 months ago
JSON representation
Bringing Lottie Animations to Unity using ThorVG
- Host: GitHub
- URL: https://github.com/benjaminhalko/thorvg-unity
- Owner: BenjaminHalko
- Created: 2024-12-16T01:10:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-26T21:54:05.000Z (3 months ago)
- Last Synced: 2025-10-26T23:30:58.379Z (3 months ago)
- Topics: lottie, lottie-animation, thorvg, unity-package
- Language: C#
- Homepage:
- Size: 4.3 MB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ThorVG-Unity
✨ Bringing Lottie Animations to Unity using [ThorVG](https://github.com/thorvg/thorvg)!

## 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](https://mesonbuild.com/Getting-meson.html) and [Ninja](https://ninja-build.org)
- Windows: `pip install meson ninja`
- MacOS: `brew install meson`
- Linux: `sudo apt install meson`
- Download & Compile ThorVG:
```bash
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