Awesome
Rive Unity Examples
A collection of games and examples using the Rive Unity package.
Documentation
For more docs and guidance on how to use Rive Unity, see our docs in the help center for step-by-step guidance on integrating the package.
Running locally
Clone/download this repository. In Unity Hub add the project you'd like to play selecting Add project from disk
<img width="271" alt="CleanShot 2023-11-14 at 14 13 07@2x" src="https://github.com/rive-app/rive-unity-examples/assets/13705472/9a459f38-2353-48fa-88e3-bb960167b667">See the getting-started project. This project contains multiple scenes that demonstrate various samples.
- DrawToCameraScene - Draws a Rive animation to the camera. Demonstrates passing mouse input to an artboard (listeners) and accessing reported events.
- DrawToCubeScene - Draws a Rive animation to a texture and renders to a cube. Demonstrates how to enable listeners in a 3D space by using a Raycast.
- EventsScene - Demonstrates how to listen to Rive events.
- StateMachineInputScene - Demonstrates how to access and manipulate Rive state machine inputs. Enter play mode to see available inputs in the inspector on the Main Camera.
For the other projects be sure to select a scene if nothing is rendering.