> For the complete documentation index, see [llms.txt](https://docs.febucci.com/text-animator-unity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.febucci.com/text-animator-unity/2.x-zh/xiao-guo/yu-lan-bing-bian-ji-xiao-guo.md).

# 预览并编辑效果

您可以通过转到其检查器 -> 编辑效果和动作 -> 展开您感兴趣的类别 -> 编辑任何数值，来编辑当前由 Text Animator 组件使用的任何效果。

<figure><img src="/files/8a92cbde63f8fd6a938dfc4f71c44fda9dadbbe6" alt="textanimator unity tweak bounce beh example" width="600"><figcaption><p>示例：编辑“弹跳”行为效果</p></figcaption></figure>

{% hint style="success" %}
在底层 **您正在** 只是 **编辑** **可脚本化对象（ScriptableObjects）** ([Unity 的解释](https://docs.unity3d.com/Manual/class-ScriptableObject.html)），这意味着任何其他使用相同效果的 TextAnimator 的数值也会被更新，无论是在编辑模式还是播放模式。这与在项目视图中点击该 ScriptableObject 文件并单独编辑其数值是相同的。
{% endhint %}

由于效果存储在可脚本化对象（ScriptableObjects）中，这些“数据容器”独立于任何场景或组件，您可以从脚本中引用它们并随时修改其数值，而无需在场景中拥有 Text Animator 组件来访问它们。

## 编辑模式预览 <a href="#edit-mode-preview" id="edit-mode-preview"></a>

您可以通过点击 TextAnimator 组件中的“播放”按钮在编辑模式下预览效果的结果。

<figure><img src="/files/c1533f907f2551726eafeed159a7e9857d710b6b" alt=""><figcaption></figcaption></figure>

从那里您可以使用滑块从第一个或最后一个字母显示和隐藏文本，或者单独隐藏单词和字母。

{% hint style="danger" %}
当您将焦点移出 TextAnimator 组件时预览将停止，因此如果您在预览期间更改了文本并希望保存，请务必点击“保存”图标。
{% endhint %}
