Text

Update Rive text at runtime in Unity

This article is out of date! Find the new version here.

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 nested artboards.

An expanded API is planned to access a text run instance and to increase the discoverability of text runs.

Last updated