Skip to content

Commit

Permalink
Merge pull request #92272 from timothyqiu/add-to-end
Browse files Browse the repository at this point in the history
Explain `add_to_end` parameter of `add_property_editor()`
  • Loading branch information
akien-mga committed May 23, 2024
2 parents abfe8ba + 4def6b6 commit 73fdc30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/EditorInspectorPlugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<param index="2" name="add_to_end" type="bool" default="false" />
<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.
</description>
</method>
<method name="add_property_editor_for_multiple_properties">
Expand Down

0 comments on commit 73fdc30

Please sign in to comment.