Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.47 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.47 KB

Rive Unity Examples

rive x unity

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

CleanShot 2023-11-14 at 14 13 07@2x

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.