summaryrefslogtreecommitdiff
path: root/doc/classes/RichTextEffect.xml
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-01-31 18:21:09 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-31 19:04:07 +0100
commit7eb832518081f15477150c561d6767fe35d17221 (patch)
treee13d1d0502d6290571daf441d41e1449e0c5f232 /doc/classes/RichTextEffect.xml
parent8612c12be61c0bc50d9039402fe19cabadfe0b16 (diff)
Fix C# examples in documentation
- Fix documentation after C# renames. - Add missing `partial` in C# class declarations. - Change `delta` parameter type to `double` in C#. - Ensure parameters match base declaration. - Use `$` string interpolation in C#. - Fix invalid or outdated C# code. - Changed some examples to follow our style guide more closely.
Diffstat (limited to 'doc/classes/RichTextEffect.xml')
-rw-r--r--doc/classes/RichTextEffect.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/RichTextEffect.xml b/doc/classes/RichTextEffect.xml
index c01546524d..333d34d1b7 100644
--- a/doc/classes/RichTextEffect.xml
+++ b/doc/classes/RichTextEffect.xml
@@ -13,7 +13,7 @@
[/gdscript]
[csharp]
// The RichTextEffect will be usable like this: `[example]Some text[/example]`
- public string bbcode = "example";
+ string bbcode = "example";
[/csharp]
[/codeblocks]
[b]Note:[/b] As soon as a [RichTextLabel] contains at least one [RichTextEffect], it will continuously process the effect unless the project is paused. This may impact battery life negatively.