summaryrefslogtreecommitdiff
path: root/doc/classes/Performance.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Performance.xml')
-rw-r--r--doc/classes/Performance.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Performance.xml b/doc/classes/Performance.xml
index f61c051a52..ddb290f007 100644
--- a/doc/classes/Performance.xml
+++ b/doc/classes/Performance.xml
@@ -19,7 +19,7 @@
<param index="1" name="callable" type="Callable" />
<param index="2" name="arguments" type="Array" default="[]" />
<description>
- Adds a custom monitor with the name [code]id[/code]. You can specify the category of the monitor using slash delimiters in [code]id[/code] (for example: [code]"Game/NumberOfNPCs"[/code]). If there is more than one slash delimiter, then the default category is used. The default category is [code]"Custom"[/code]. Prints an error if given [code]id[/code] is already present.
+ Adds a custom monitor with the name [param id]. You can specify the category of the monitor using slash delimiters in [param id] (for example: [code]"Game/NumberOfNPCs"[/code]). If there is more than one slash delimiter, then the default category is used. The default category is [code]"Custom"[/code]. Prints an error if given [param id] is already present.
[codeblocks]
[gdscript]
func _ready():
@@ -75,7 +75,7 @@
<return type="Variant" />
<param index="0" name="id" type="StringName" />
<description>
- Returns the value of custom monitor with given [code]id[/code]. The callable is called to get the value of custom monitor. See also [method has_custom_monitor]. Prints an error if the given [code]id[/code] is absent.
+ Returns the value of custom monitor with given [param id]. The callable is called to get the value of custom monitor. See also [method has_custom_monitor]. Prints an error if the given [param id] is absent.
</description>
</method>
<method name="get_custom_monitor_names">
@@ -110,14 +110,14 @@
<return type="bool" />
<param index="0" name="id" type="StringName" />
<description>
- Returns [code]true[/code] if custom monitor with the given [code]id[/code] is present, [code]false[/code] otherwise.
+ Returns [code]true[/code] if custom monitor with the given [param id] is present, [code]false[/code] otherwise.
</description>
</method>
<method name="remove_custom_monitor">
<return type="void" />
<param index="0" name="id" type="StringName" />
<description>
- Removes the custom monitor with given [code]id[/code]. Prints an error if the given [code]id[/code] is already absent.
+ Removes the custom monitor with given [param id]. Prints an error if the given [param id] is already absent.
</description>
</method>
</methods>