Preview and Edit effects
Last updated
Last updated
You can edit any effect currently being used by a Text Animator component by simply going to its Inspector -> Edit Effects and Actions -> expand the category you’re interested in -> edit any value.
Under the hood you’re simply editing ScriptableObjects (Unity’s explanation), which means that any other TextAnimator that is using the same effects will have their values updates as well, both in Edit Mode and in Play Mode. This is the same as clicking on the ScriptableObject file (in the Project View) and editings its value individually.
Since Effects are stored inside ScriptableObjects, which are “data containers” that are independent from any scene or component, you can reference them from your scripts and modify their values at any time, without needing to have a Text Animator component in your scene to access them.
You can preview the result of your effects in Edit Mode by clicking on the “Play” button in the TextAnimator component.
From there you can either use the Slider to show and hide text from the first or last letter, or hide words and letters individually.
The preview will stop whenever you remove focus from the TextAnimator’s component, so if you changed text during preview and want it to be saved please be sure to click on the “Save” icon.