> 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/wei-ni-de-wen-ben-tian-jia-xiao-guo/xiu-shi-fu.md).

# 修饰符

**修饰符允许你单独更改效果的属性**，并且可以在所有效果类别中使用。

<details>

<summary>示例：将效果设为默认的三倍强度</summary>

你可以在同一段对话中让一个效果比前一个更强，例如“我曾经 `<wiggle>`强壮`</wiggle>`…但现在我`<wiggle a=3>` 强了三倍`</wiggle>`!!!”

<img src="/files/8402f24a48c81e216867ae71631c06de54a9b607" alt="" data-size="original">

</details>

“**修饰符**” **将相对数值相乘；** 这样你就可以轻松知道修改后的效果相比基础效果会强/弱多少 *（因此，值为“1”的修饰符将返回与基础值相同的结果）*.

所有修饰符的结构如下： **`<effectID modifierID=modifierValue>`** 你也可以使用多个修饰符，用空格分隔（例如 `<wiggle a=2 f=4>`).

你可以查看每个效果可用修饰符的列表： [内置效果列表](/text-animator-unity/2.x-zh/xiao-guo/nei-zhi-xiao-guo-lie-biao.md)

* Appearances 效果的示例： `{fade d=3}`.
* Disappearance 效果的示例： `{#fade d=2}`.

一些额外说明：

{% hint style="success" %}
你也可以在声明“[默认/回退](/text-animator-unity/2.x-zh/xiao-guo/wei-ni-de-wen-ben-tian-jia-xiao-guo.md#set-default-effects-to-the-entire-text)” 效果时使用修饰符（只需直接在检查器中编写即可）。
{% endhint %}

{% hint style="warning" %}
如果在同一个富文本标签中写了相同的属性，只有最后一个会生效。

***

示例："`<wiggle f=1 a=2 a=3>`" 等同于写成 "`<wiggle f=1 a=3>"`，因为第一个 “a” 属性被最后一个覆盖了。&#x20;
{% endhint %}

{% hint style="danger" %}
务必去掉 modifierID、'=' 符号和其值之间的空格

***

* ❌ 错误： `<wiggle f = 3>`
* ✅ 正确： `<wiggle f=3>`
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.febucci.com/text-animator-unity/2.x-zh/xiao-guo/wei-ni-de-wen-ben-tian-jia-xiao-guo/xiu-shi-fu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
