Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Unity
Text
Home
Editor
App Runtimes
Game Runtimes
Feature Support
Tutorials
Case Studies
Community
Blog
Early Access
Game Runtimes
Unreal
Unity
Unity
Getting Started
Fundamentals
Components
Layouts
Listeners
State Machines
Data Binding
Rive Events
Text
Loading Assets
Procedural Rendering
Runtime Asset Swapping
Defold
On this page
Update Rive Text in Unity
Nested Text Runs
Unity
Text
For more information on Rive Text see the respective runtime and editor documentation.
Text
Runtime docs on Rive Text.
Text Overview
Editor docs on Rive Text.
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
:
Copy
Ask AI
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.
Nested Text Runs
For more information about updating nested text runs in Unity,
take a look at this example
.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Rive Events
Loading Assets
Assistant
Responses are generated using AI and may contain mistakes.