From 4def6b6fef4c3d2f7f0ccaa5be060f5e0cfd5f9d Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 23 May 2024 09:08:12 +0800 Subject: [PATCH] Explain add_to_end parameter of add_property_editor() --- doc/classes/EditorInspectorPlugin.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml index efa881591c26..e5e6905cd218 100644 --- a/doc/classes/EditorInspectorPlugin.xml +++ b/doc/classes/EditorInspectorPlugin.xml @@ -80,6 +80,7 @@ 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.