diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2024-05-24 18:18:24 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2024-05-25 17:21:31 +0200 |
commit | 85eac455139ae527951bf5fd49cedbac3535fd4d (patch) | |
tree | 7ccdc3298f53a44a12b84af522942984f7b12bc5 /doc | |
parent | b7feebefabc2d48b0d4794cd31fc141f1caecc5c (diff) | |
download | redot-engine-85eac455139ae527951bf5fd49cedbac3535fd4d.tar.gz |
Display custom data name instead of indices in TileData inspector
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/EditorInspectorPlugin.xml | 2 |
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="""" /> <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"> |