Skip to main content
DEPRECATION NOTICE: This entire page documents the legacy system. For new projects: Use Data Binding instead. For existing projects: Plan to migrate from to Data Binding as soon as possible. This content is provided for legacy support only.
For more information on Rive Text see the respective runtime and editor documentation.

Update Rive Text in Unity

A unique run name must be set in the editor to be easily discoverable at runtime. See the text runtime docs for more information.
A text run can be updated from an artboard instance by providing the name and new value:
Artboard artboard;

....

artboard.SetTextRun("textRunName", "newValue");
Note: This API only updates text runs on the given artboard, and will not update text runs on component instances.

Nested Text Runs

For more information about updating nested text runs in Unity, take a look at this example.
I