summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:49:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:49:12 +0200
commitf87be863cacff5d1cc448c061d1d8d0b67172eea (patch)
tree50c50f07de6dc7a2acc9e11e14353c6548fea2e3 /doc/classes
parenta10897ddc0b0ab57fe67e7d0b9b3415ed8e74a5c (diff)
parent85eac455139ae527951bf5fd49cedbac3535fd4d (diff)
downloadredot-engine-f87be863cacff5d1cc448c061d1d8d0b67172eea.tar.gz
Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorInspectorPlugin.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml
index e5e6905cd2..4f6ef76c4c 100644
--- a/doc/classes/EditorInspectorPlugin.xml
+++ b/doc/classes/EditorInspectorPlugin.xml
@@ -78,9 +78,11 @@
<param index="0" name="property" type="String" />
<param index="1" name="editor" type="Control" />
<param index="2" name="add_to_end" type="bool" default="false" />
+ <param index="3" name="label" type="String" default="&quot;&quot;" />
<description>
Adds a property editor for an individual property. The [param editor] control must extend [EditorProperty].
There can be multiple property editors for a property. If [param add_to_end] is [code]true[/code], this newly added editor will be displayed after all the other editors of the property whose [param add_to_end] is [code]false[/code]. For example, the editor uses this parameter to add an "Edit Region" button for [member Sprite2D.region_rect] below the regular [Rect2] editor.
+ [param label] can be used to choose a custom label for the property editor in the inspector. If left empty, the label is computed from the name of the property instead.
</description>
</method>
<method name="add_property_editor_for_multiple_properties">