Quick Start
Data binding allows you to establish connections between your Unity code and your Rive graphics. This creates a two-way reactive system where changes in your code affect the Rive design, and changes in the design can trigger responses in your code.- Component API (Recommended)
- Legacy API
Auto Binding in the Inspector
The simplest way to use data binding is through the Unity Inspector. The Rive Widget component includes a Data Binding Mode setting that offers three options:
- Auto Bind Default: Automatically binds the default view model instance (marked as “Default” in the Rive editor)
- Auto Bind Selected: Lets you select a specific instance from a dropdown
- Manual: Requires you to set up binding through code (see the Data Binding documentation for details)