浏览代码

Reference Custom Effects property in BBCode in RichTextLabel (#4604)

Custom effects need manual activation.
This information was missing to complete the tutorial.

Co-authored-by: Hugo Locurcio <[email protected]>
Beuc 4 年之前
父节点
当前提交
8d15ca796d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tutorials/ui/bbcode_in_richtextlabel.rst

+ 2 - 1
tutorials/ui/bbcode_in_richtextlabel.rst

@@ -190,7 +190,8 @@ You can extend the :ref:`class_RichTextEffect` resource type to create your own
 BBCode tags. You begin by extending the :ref:`class_RichTextEffect` resource type. Add
 the ``tool`` prefix to your GDScript file if you wish to have these custom effects run
 within the editor itself. The RichTextLabel does not need to have a script attached,
-nor does it need to be running in ``tool`` mode.
+nor does it need to be running in ``tool`` mode. The new effect will be activable in 
+the Inspector through the **Custom Effects** property.
 
 There is only one function that you need to extend: ``_process_custom_fx(char_fx)``.
 Optionally, you can also provide a custom BBCode identifier simply by adding a member