Player for Lottie animations, powered by rlottie.
- Scripted importer that interprets JSON files as LottieAnimationAssets. This helps you separate animation files from regular JSON ones and makes sure the asset contains valid animations.
- ImageLottiePlayer: a Unity UI component that plays Lottie animation assets, rendering to a texture of customizable size.
- Job System-friendly: texture updates may run in background threads.
Use
ILottieAnimation.CreateRenderJob(...)
extension method for scheduling an animation render job. - Supported platforms: Windows, Linux, macOS, iOS, tvOS, visionOS, Android, WebGL
Either:
- Use the openupm registry and install this package using the openupm-cli:
openupm add com.gilzoide.lottie-player
- Install using the Unity Package Manager with the following URL:
https://github.com/gilzoide/unity-lottie-player.git#1.0.0
- Clone this repository or download a snapshot of it directly inside your project's
Assets
orPackages
folder.